From 9a39419686099b6f23f5a6770d57e03bebb334ee Mon Sep 17 00:00:00 2001 From: Terje Karlsen Date: Fri, 6 Oct 2023 14:19:23 +0200 Subject: [PATCH] =?UTF-8?q?Introdusere=20features-endepunkt=20p=C3=A5=20ny?= =?UTF-8?q?tt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 6430c0e0c..f582616e4 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);