Skip to content
Snippets Groups Projects
Commit d6fa5f3e authored by Nicolas Fley's avatar Nicolas Fley
Browse files

local support added (use env NODE_ENV=dev), android port is 10.0.2.2 (by default))

parent 1146b8ad
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@ passport.deserializeUser(function(user, done) {
});
let callbackURL = "http://localhost:3000/auth/connect/callback"
if(process.env.NODE_ENV == "dev")
callbackURL = "http://10.0.2.2:3000/auth/connect/callback"
if(process.env.NODE_ENV == "prod")
callbackURL = "http://nicolasfley.fr:7898/auth/connect/callback"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment