diff --git a/src/ConfigContext.ts b/src/ConfigContext.ts index 39bf29003..66cc14d00 100644 --- a/src/ConfigContext.ts +++ b/src/ConfigContext.ts @@ -80,7 +80,11 @@ if (process.env.NODE_ENV === "development") { export async function initializeConfiguration(): Promise { try { - const response = await fetch("./config.json"); + const response = await fetch("./config.json", { + headers: { + "If-None-Match": "", // disable client side cache + }, + }); if (response.status === 200) { try { const { allowedParentFrameOrigins, ...externalConfig } = await response.json(); diff --git a/web.config b/web.config index 599176261..51421bfe9 100644 --- a/web.config +++ b/web.config @@ -34,26 +34,40 @@ - + - + + + + + + + + - + - + + + + + + + + \ No newline at end of file