a3eb85874979ac1fbe03afb034a4de6d47018d5b
1 let router
= require("express").Router();
2 const access
= require("../utils/access");
4 // To avoid a weird preflight AJAX request error in dev mode...
5 router
.get("/", access
.ajax
, (req
,res
) => {
9 router
.use("/", require("./challenges"));
10 router
.use("/", require("./games"));
11 router
.use("/", require("./messages"));
12 router
.use("/", require("./users"));
13 router
.use("/", require("./variants"));
15 module
.exports
= router
;