summaryrefslogtreecommitdiff
path: root/controllers/root/root.js
diff options
context:
space:
mode:
authorJulien Dessaux2023-01-05 02:09:07 +0100
committerJulien Dessaux2023-01-05 02:09:07 +0100
commitd7ed1196bdd44d7734d41d91a5e72a71785e0a08 (patch)
treeaafae6571d5154dc5e9a061c8f54ca8e9b1287ad /controllers/root/root.js
parentAdded more tests (diff)
downloadjeux-de-mots-d7ed1196bdd44d7734d41d91a5e72a71785e0a08.tar.gz
jeux-de-mots-d7ed1196bdd44d7734d41d91a5e72a71785e0a08.tar.bz2
jeux-de-mots-d7ed1196bdd44d7734d41d91a5e72a71785e0a08.zip
switched to single quotes string in eslint
Diffstat (limited to 'controllers/root/root.js')
-rw-r--r--controllers/root/root.js4
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');
}