From d5d3fbfa1b3e0b983feca142d03232db5c141beb Mon Sep 17 00:00:00 2001 From: Terje Karlsen Date: Fri, 6 Oct 2023 13:38:38 +0200 Subject: [PATCH] Disable feature-endepunkt --- src/server/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/server.ts b/src/server/server.ts index f582616e4..6430c0e0c 100644 --- a/src/server/server.ts +++ b/src/server/server.ts @@ -16,7 +16,7 @@ import { getCspHandler } from './api-handlers/csp'; import { getTaskAnalyticsConfigHandler } from './api-handlers/ta'; import { mockSessionHandler, refreshMockSessionHandler } from './mock/mockSession'; import { mockAuthHandler } from './mock/mockAuth'; -import { getFeaturesHandler } from './api-handlers/features'; +// import { getFeaturesHandler } from './api-handlers/features'; require('console-stamp')(console, '[HH:MM:ss.l]'); @@ -122,7 +122,7 @@ app.get(createPaths('/env'), (req, res, next) => { // Api endpoints app.get(createPaths('/api/meny'), getMenuHandler); app.get(createPaths('/api/sok'), getSokHandler); -app.get(createPaths('/api/features'), getFeaturesHandler); +// app.get(createPaths('/api/features'), getFeaturesHandler); app.get(createPaths('/api/driftsmeldinger'), getDriftsmeldingerHandler); app.get(createPaths('/api/auth'), mockAuthHandler); app.get(createPaths('/api/oauth2/session'), mockSessionHandler);