1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Remove console.log

Change development config back to master
This commit is contained in:
N0str 2020-05-09 14:02:15 +03:00
parent 1b32747e20
commit 7f8127813b
No known key found for this signature in database
GPG key ID: 9141CB6BB5A35140
2 changed files with 1 additions and 3 deletions

View file

@ -2,6 +2,5 @@
"port": 3000, "port": 3000,
"database": ".db", "database": ".db",
"uploads": "public/uploads", "uploads": "public/uploads",
"secret": "iamasecretstring", "secret": "iamasecretstring"
"startPage": "codex"
} }

View file

@ -4,7 +4,6 @@ const router = express.Router();
/* GET home page. */ /* GET home page. */
router.get('/', verifyToken, async (req, res) => { router.get('/', verifyToken, async (req, res) => {
console.log(res.locals);
if (res.locals.startPage) { if (res.locals.startPage) {
return res.redirect(res.locals.startPage); return res.redirect(res.locals.startPage);
} }