diff --git a/src/routes/account.ts b/src/routes/account.ts index da3785e7c6360a405c5af09b62911ad1ca1bd2f0..0911562e8fb09d88d7d8f4fafa36e36fe2989a67 100644 --- a/src/routes/account.ts +++ b/src/routes/account.ts @@ -164,7 +164,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { } }) - app.get('/services', async function (req: any, res: any) { + app.get('/services_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else { @@ -383,7 +383,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { // ============= NEW GITLAB PAGES =========================== - app.get('/newInformation', async function (req: any, res: any) { + app.get('/newInformation_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else { @@ -403,7 +403,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { } } }) - app.post('/newInformation', async function (req: any, res: any) { + app.post('/newInformation_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else { @@ -463,7 +463,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { } }) - app.get('/updateInformation', async function (req: any, res: any) { + app.get('/updateInformation_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else { @@ -499,7 +499,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { } }) // update a website - app.post('/updateInformation', async function (req: any, res: any) { + app.post('/updateInformation_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else { @@ -559,7 +559,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { } }) - app.delete('/deleteProject', async function (req: any, res: any) { + app.delete('/deleteProject_DEACTIVATED', async function (req: any, res: any) { if (!req.isAuthenticated()) { res.redirect('/login') } else {