fix: append cache-busting param to blog API endpoint
This commit is contained in:
parent
fd7f0b4527
commit
ca7de2c7ab
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ const STATE_KEY = 'hytale-blog'
|
|||
const MAX_SEEN_IDS = 100
|
||||
|
||||
export async function checkBlogUpdates(stateStore: StateStore): Promise<BlogPost[]> {
|
||||
const response = await fetch(ENDPOINT)
|
||||
const response = await fetch(`${ENDPOINT}?_=${Date.now()}`)
|
||||
if (!response.ok) {
|
||||
throw new Error(`Blog endpoint returned ${response.status}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue