Fix login/register system
[vchess.git] / server / config / parameters.js.dist
index 2b0a6e7..5b4301a 100644 (file)
@@ -1,7 +1,7 @@
 module.exports =
 {
        // For mail sending. NOTE: *no trailing slash*
-       siteURL: "http://localhost:3000",
+       siteURL: "http://localhost:8080",
 
        // To know in which environment the code run
        env: process.env.NODE_ENV || 'development',
@@ -9,7 +9,7 @@ module.exports =
        // CORS: cross-origin resource sharing options
        cors: {
                enable: true,
-               allowedOrigin: "*",
+               allowedOrigin: "http://localhost:8080",
        },
 
        // Lifespan of a (login) cookie