We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e757af3 commit 37fc99bCopy full SHA for 37fc99b
src/platform/remoteConfig/refreshRemoteConfig.ts
@@ -13,11 +13,11 @@ export async function refreshRemoteConfig(): Promise<void> {
13
}
14
15
console.warn('Failed to load remote config:', response.statusText)
16
- window.__CONFIG__ = {}
17
- remoteConfig.value = {}
+ if (response.status === 401 || response.status === 403) {
+ window.__CONFIG__ = {}
18
+ remoteConfig.value = {}
19
+ }
20
} catch (error) {
21
console.error('Failed to fetch remote config:', error)
22
23
0 commit comments