From ebdcd24cf631a82eeaa38f1f5d060e152ad49b47 Mon Sep 17 00:00:00 2001 From: Gringo <timothe.barthez@student-cs.fr> Date: Wed, 25 Dec 2019 19:16:37 +0100 Subject: [PATCH] true real fix --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index f2817c4..caf0452 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/auth'; function auth (req, res, next) { if (req.session && req.session.expires_at -- GitLab