From 8e12c10c5dbd60a1b183a5f53bc82d41cc1af13f Mon Sep 17 00:00:00 2001 From: Gringo <timothe.barthez@student-cs.fr> Date: Wed, 25 Dec 2019 19:14:11 +0100 Subject: [PATCH] true fix --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 803f837..f2817c4 100644 --- a/app.js +++ b/app.js @@ -45,7 +45,7 @@ app.use(server_session); store.sync() // Auth middleware -let redirect_uri = process.env.NODE_ENV === "development" ? 'http://localhost:3000/auth' : 'https://graphe_des_assos.cs-campus.fr'; +let redirect_uri = process.env.NODE_ENV === "development" ? 'http://localhost:3000/auth' : 'https://graphe-des-assos.cs-campus.fr'; function auth (req, res, next) { if (req.session && req.session.expires_at -- GitLab