fix: ensure support status API is always dynamic by disabling caching

This commit is contained in:
Yusuf İpek
2025-11-20 14:38:32 +03:00
parent 99d9c7e00b
commit f482a1ee7a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export function Header() {
useEffect(() => {
const checkCryptomusStatus = async () => {
try {
const response = await fetch('/api/support/status')
const response = await fetch('/api/support/status', { cache: 'no-store' })
const data = await response.json()
setCryptomusEnabled(data.cryptomus_enabled)
} catch (error) {