Update tournament DB at each user registration
[vchess.git] / server / config / parameters.js.dist
index c0640cd..b7abc13 100644 (file)
@@ -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: []
+
 };