fix: append cache-busting param to blog API endpoint

This commit is contained in:
devilreef 2026-02-11 21:09:43 +06:00
parent fd7f0b4527
commit ca7de2c7ab

View file

@ -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}`)
}