mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-18 14:55:34 +08:00
added config route
This commit is contained in:
parent
0cfc796bba
commit
1222e576c0
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ app.use(cors());
|
|||
|
||||
const userRouter = require("./api/routes/user");
|
||||
app.use("/user", userRouter);
|
||||
const configRouter = require("./api/routes/config");
|
||||
app.use("/config", configRouter);
|
||||
|
||||
app.use(function (e, req, res, next) {
|
||||
console.log("Error", e);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue