From 0685cf2b16971687dd874052bb317720244cb626 Mon Sep 17 00:00:00 2001 From: Eirik Vigeland Date: Thu, 15 Aug 2024 10:52:06 +0200 Subject: [PATCH] fix. skal-backupmeny-brukes proxy --- server/src/paths/setupPath.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/paths/setupPath.ts b/server/src/paths/setupPath.ts index c651ab418..14759d608 100644 --- a/server/src/paths/setupPath.ts +++ b/server/src/paths/setupPath.ts @@ -47,7 +47,7 @@ export function initializePath(app: Express): void { }); app.get('/tiltaksgjennomforing/skal-backupmeny-brukes', (_, res) => { - res.json(ENABLE_EXTERNAL_MENU && ENABLE_INTERNAL_MENU); + res.json(!ENABLE_EXTERNAL_MENU && !ENABLE_INTERNAL_MENU); }); app.get('/tiltaksgjennomforing/brukavInternflate', (_, res) => {