X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Fconfig%2Fparameters.js.dist;h=b7abc139193431d806d0b1f1f7b894c3bb4be6de;hb=7a0c1b7e33a346195caebfdfa6489e7c6d0457e6;hp=264fac50efadddad3cfd821c4d6f0a186911749f;hpb=dac395887d96e2d642b209c6db6aaacc3ffacb34;p=vchess.git diff --git a/server/config/parameters.js.dist b/server/config/parameters.js.dist index 264fac50..b7abc139 100644 --- a/server/config/parameters.js.dist +++ b/server/config/parameters.js.dist @@ -1,11 +1,11 @@ -module.exports = -{ +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, @@ -21,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", @@ -31,4 +34,8 @@ module.exports = noreply: "some_noreply_email", contact: "some_contact_email", }, + + // IDs of users allowed to post news and edit any problem + devs: [] + };