X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Fconfig%2Fparameters.js.dist;h=b7abc139193431d806d0b1f1f7b894c3bb4be6de;hb=0aa79c55c471b6a816723b021b3b50c9f6b0dec6;hp=c0640cd6f3f71a7fad929ea94f2f27c3bf7994b6;hpb=a9e7935190d8fc112e674add05e86b8d0152e8df;p=vchess.git diff --git a/server/config/parameters.js.dist b/server/config/parameters.js.dist index c0640cd6..b7abc139 100644 --- a/server/config/parameters.js.dist +++ b/server/config/parameters.js.dist @@ -1,10 +1,11 @@ module.exports = { + // For mail sending. NOTE: *no trailing slash* 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, @@ -20,6 +21,9 @@ module.exports = { expire: 30*60*1000, //30 minutes in milliseconds }, + // Path to tournament repository (to synchronize DBs) + tourneyPath: "/path/to/folder", + // Email settings mail: { host: "mail_host_address", @@ -33,4 +37,5 @@ module.exports = { // IDs of users allowed to post news and edit any problem devs: [] + };