diff options
Diffstat (limited to 'controllers/root/root.js')
-rw-r--r-- | controllers/root/root.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/root/root.js b/controllers/root/root.js index 062edf4..6349983 100644 --- a/controllers/root/root.js +++ b/controllers/root/root.js @@ -1,6 +1,6 @@ export function root_get(req, res) { if (req.session.user !== undefined) { - return res.redirect(302, "/games"); + return res.redirect(302, '/games'); } - return res.redirect(302, "/login"); + return res.redirect(302, '/login'); } |