mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 22:45:23 +02:00
Remove console.log
Change development config back to master
This commit is contained in:
parent
1b32747e20
commit
7f8127813b
2 changed files with 1 additions and 3 deletions
|
@ -2,6 +2,5 @@
|
|||
"port": 3000,
|
||||
"database": ".db",
|
||||
"uploads": "public/uploads",
|
||||
"secret": "iamasecretstring",
|
||||
"startPage": "codex"
|
||||
"secret": "iamasecretstring"
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ const router = express.Router();
|
|||
|
||||
/* GET home page. */
|
||||
router.get('/', verifyToken, async (req, res) => {
|
||||
console.log(res.locals);
|
||||
if (res.locals.startPage) {
|
||||
return res.redirect(res.locals.startPage);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue