diff --git a/resources/views/chat/partials/games/horse-race-panel.blade.php b/resources/views/chat/partials/games/horse-race-panel.blade.php index 47e482d..4b278d9 100644 --- a/resources/views/chat/partials/games/horse-race-panel.blade.php +++ b/resources/views/chat/partials/games/horse-race-panel.blade.php @@ -427,9 +427,15 @@ * @returns {Promise} */ async requestJson(url, options = {}) { - const response = await fetch(url, { + const requestUrl = new URL(url, window.location.origin); + requestUrl.searchParams.set('_ts', Date.now().toString()); + + const response = await fetch(requestUrl.toString(), { + cache: 'no-store', headers: { 'Accept': 'application/json', + 'Cache-Control': 'no-cache', + 'Pragma': 'no-cache', ...(options.headers || {}), }, ...options,