From 347979bb106d28b74ec92a3bc0b8f7cbf7181819 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sat, 26 Aug 2023 20:57:16 +0200 Subject: [PATCH] Remove login demo page route --- src/routes/frontend/manage/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/frontend/manage/index.ts b/src/routes/frontend/manage/index.ts index 99ffe43..ff41564 100644 --- a/src/routes/frontend/manage/index.ts +++ b/src/routes/frontend/manage/index.ts @@ -7,7 +7,6 @@ import jsonImportRoute from './import/jsonImport.js'; import categoryManager from './categoryManager.js'; import storageManager from './storageManager.js'; import startpageRoute from './startpage.js'; -import demoLoginRoute from './demo.js' // Router base is '/manage' const Router = express.Router({ strict: false }); @@ -17,7 +16,6 @@ Router.route('/categories').get(categoryManager.get); Router.route('/storages').get(storageManager.get); Router.route('/import/csv').get(csvImportRoute.get).post(csvImportRoute.post); Router.route('/import/json').get(jsonImportRoute.get).post(jsonImportRoute.post); -Router.route('/demo/login').get(demoLoginRoute.get); Router.route('/').get(startpageRoute.get); export default Router;