mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-12-22 23:59:08 +03:00
fix
This commit is contained in:
parent
763204b01c
commit
980deb7db2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ app.use(async (req, res, next) => {
|
|||
next();
|
||||
});
|
||||
|
||||
app.post("me", (req, res) => res.complate(req.user))
|
||||
app.post("/me", (req, res) => res.complate(req.user))
|
||||
|
||||
for (const file of fs.readdirSync("./routes/api/routes"))
|
||||
app.use("/" + file.replace(".js", ""), require(`./routes/${file}`));
|
||||
|
|
Loading…
Reference in a new issue