projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Advance on Game.vue
[vchess.git]
/
server
/
config
/
parameters.js.dist
diff --git
a/server/config/parameters.js.dist
b/server/config/parameters.js.dist
index
6f274dd
..
5b4301a
100644
(file)
--- a/
server/config/parameters.js.dist
+++ b/
server/config/parameters.js.dist
@@
-1,10
+1,16
@@
module.exports =
{
// For mail sending. NOTE: *no trailing slash*
module.exports =
{
// For mail sending. NOTE: *no trailing slash*
- siteURL: "http://localhost:
300
0",
+ siteURL: "http://localhost:
808
0",
// To know in which environment the code run
env: process.env.NODE_ENV || 'development',
// To know in which environment the code run
env: process.env.NODE_ENV || 'development',
+
+ // CORS: cross-origin resource sharing options
+ cors: {
+ enable: true,
+ allowedOrigin: "http://localhost:8080",
+ },
// Lifespan of a (login) cookie
cookieExpire: 183*24*60*60*1000, //6 months in milliseconds
// Lifespan of a (login) cookie
cookieExpire: 183*24*60*60*1000, //6 months in milliseconds