Skip to content
Snippets Groups Projects
Commit ebdcd24c authored by Timothé Bailly-Barthez's avatar Timothé Bailly-Barthez
Browse files

true real fix

parent 8e12c10c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment