projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some advances. TODO: test board.js, and then game.js, and then implement room.js
[vchess.git]
/
config
/
parameters.js.dist
diff --git
a/config/parameters.js.dist
b/config/parameters.js.dist
index
bb3cbe2
..
6f274dd
100644
(file)
--- a/
config/parameters.js.dist
+++ b/
config/parameters.js.dist
@@
-1,4
+1,4
@@
-
const Parameter
s =
+
module.export
s =
{
// For mail sending. NOTE: *no trailing slash*
siteURL: "http://localhost:3000",
{
// For mail sending. NOTE: *no trailing slash*
siteURL: "http://localhost:3000",
@@
-7,12
+7,12
@@
const Parameters =
env: process.env.NODE_ENV || 'development',
// Lifespan of a (login) cookie
env: process.env.NODE_ENV || 'development',
// Lifespan of a (login) cookie
- cookieExpire: 183*24*
360
0*1000, //6 months in milliseconds
+ cookieExpire: 183*24*
60*6
0*1000, //6 months in milliseconds
// Characters in a login token, and period of validity (in milliseconds)
token: {
length: 16,
// Characters in a login token, and period of validity (in milliseconds)
token: {
length: 16,
- expire:
1000*60*3
0, //30 minutes in milliseconds
+ expire:
30*60*100
0, //30 minutes in milliseconds
},
// Email settings
},
// Email settings
@@
-26,5
+26,3
@@
const Parameters =
contact: "some_contact_email",
},
};
contact: "some_contact_email",
},
};
-
-module.exports = Parameters;