From 310defadd8060386b648ffcb02ca0c0c9187dae7 Mon Sep 17 00:00:00 2001 From: Matt Stover Date: Tue, 31 Oct 2023 18:36:53 -0700 Subject: [PATCH] fix: add surrogate keys for ui assets --- server/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/index.js b/server/index.js index 293b6c12de..8fd4b9e4c6 100644 --- a/server/index.js +++ b/server/index.js @@ -50,6 +50,7 @@ function setHeaders(res, path) { res.header('Access-Control-Allow-Origin', `https://${config.app.host}`); } res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'); + res.header('Surrogate-Key', 'ui-all ui-static all-assets'); } app.use('/static', express.static('dist/static', {