projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes
[vchess.git]
/
server
/
routes
/
all.js
diff --git
a/server/routes/all.js
b/server/routes/all.js
index
a890e60
..
a3eb858
100644
(file)
--- a/
server/routes/all.js
+++ b/
server/routes/all.js
@@
-1,5
+1,5
@@
-
var
router = require("express").Router();
-
var
access = require("../utils/access");
+
let
router = require("express").Router();
+
const
access = require("../utils/access");
// To avoid a weird preflight AJAX request error in dev mode...
router.get("/", access.ajax, (req,res) => {
// To avoid a weird preflight AJAX request error in dev mode...
router.get("/", access.ajax, (req,res) => {