X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Fconfig%2Fparameters.js.dist;h=5b4301a65f8629329531cd5e86a19289a9d44765;hb=52a8ab55fed35fcbf8d00d4952fb32dd3535f5b7;hp=0beabed07fef843ae1530ed5f21905f3d955059c;hpb=98db2082fd31e7a7bc0348e31ce119f39dbc31b3;p=vchess.git diff --git a/server/config/parameters.js.dist b/server/config/parameters.js.dist index 0beabed0..5b4301a6 100644 --- a/server/config/parameters.js.dist +++ b/server/config/parameters.js.dist @@ -1,15 +1,15 @@ 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: Parameters.env === "development", - allowedOrigin: "*", + enable: true, + allowedOrigin: "http://localhost:8080", }, // Lifespan of a (login) cookie