aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/controllers/client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 08c0f1fa6..65b5a053c 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -29,7 +29,8 @@ clientsRouter.use(
29 embedCSPMiddleware, 29 embedCSPMiddleware,
30 (req: express.Request, res: express.Response) => { 30 (req: express.Request, res: express.Response) => {
31 res.removeHeader('X-Frame-Options') 31 res.removeHeader('X-Frame-Options')
32 res.sendFile(embedPath) 32 // Don't cache HTML file since it's an index to the immutable JS/CSS files
33 res.sendFile(embedPath, { maxAge: 0 })
33 } 34 }
34) 35)
35clientsRouter.use( 36clientsRouter.use(