Fix pronlems edit by admins
[vchess.git] / client / src / parameters.js.dist
index 5710bac..b7f0899 100644 (file)
@@ -1,13 +1,16 @@
 const Parameters =
 {
-       // URL of your socket server
-       socketUrl: "ws://localhost:3000",
+  // URL of your socket server
+  socketUrl: "ws://localhost:3000",
 
-       // URL of the server (leave blank for 1-server case)
-       serverUrl: "http://localhost:3000",
+  // URL of the server (leave blank for 1-server case)
+  serverUrl: "http://localhost:3000",
 
-  // true if the server is at a different address
-  cors: true,
+  // "include" if the server is at a different address
+  credentials: "same-origin",
+
+  // IDs of users allowed to post news and edit any problem
+  devs: []
 };
 
 export default Parameters;