Small fixes + add some debug traces
[vchess.git] / server / config / parameters.js.dist
index 6f274dd..14c100a 100644 (file)
@@ -1,10 +1,16 @@
 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',
+       
+       // CORS: cross-origin resource sharing options
+       cors: {
+               enable: true,
+               allowedOrigin: "*",
+       },
 
        // Lifespan of a (login) cookie
        cookieExpire: 183*24*60*60*1000, //6 months in milliseconds