From 42f3c1d04ad3df2b81baca2a72732f6b4626c244 Mon Sep 17 00:00:00 2001 From: Rosanny Date: Wed, 3 Feb 2021 11:18:20 +0100 Subject: [PATCH 1/2] remote unused lines --- app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.js b/app.js index e7eeac4..996640b 100644 --- a/app.js +++ b/app.js @@ -55,12 +55,10 @@ app.use(function(req, res, next) { next() }) -//require('./routes/routes-account')(app, config, passport, i18n); require('./routes/routes-project')(app, config, passport) // Handle 404 app.use(function (req, res, next) { - //res.status(404).send('404: Page not Found', 404) res.status(404).render('./DE/404') }) -- GitLab From d79ce45aacf3c3ea6fcd36163c077768bdd29c38 Mon Sep 17 00:00:00 2001 From: Rosanny Date: Wed, 3 Feb 2021 11:19:20 +0100 Subject: [PATCH 2/2] add gitlab configuration parameter --- config/config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/config.js b/config/config.js index 8fa365a..a8bbdb3 100644 --- a/config/config.js +++ b/config/config.js @@ -29,6 +29,9 @@ module.exports = { authPass: 'passwordmail', tlsCiphers: 'SSLv3', from: 'email_from', + }, + gitlab: { + token_readWriteProjects: 'putyourtokenhere' } }, testing: { @@ -61,6 +64,9 @@ module.exports = { authPass: 'passwordmail', tlsCiphers: 'SSLv3', from: 'email_from', + }, + gitlab: { + token_readWriteProjects: 'putyourtokenhere' } }, production: { -- GitLab