Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Disable feature-endepunkt
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeofnorway committed Oct 6, 2023
1 parent 095b330 commit d5d3fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]');

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d5d3fbf

Please sign in to comment.