diff --git a/app.js b/app.js index e7eeac48e3530e0d1a2e90dd208dc6cb74d01fc9..996640bc3cf4f368a46f03120fce37cf085f5c7d 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') }) diff --git a/config/config.js b/config/config.js index 8fa365a877e9a24f979909a28f3aba97a12faa18..a8bbdb3dc81f840f689edfc8da8ee9993ea754bd 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: {