Fixing wierd WIP problem
This commit is contained in:
parent
c54406564c
commit
e09c6df9f6
@ -41,10 +41,10 @@ ViewRouter.get("/admin", GetUserMiddleware(false, true), (req: Request, res, nex
|
||||
res.send(GetAdminPage(req.__))
|
||||
})
|
||||
|
||||
ViewRouter.get("/user", Stacker(GetUserMiddleware(false, true), (req, res) => {
|
||||
res.setHeader("Cache-Control", "public, max-age=" + cacheTime);
|
||||
res.send(GetUserPage(req.__));
|
||||
}));
|
||||
// ViewRouter.get("/user", Stacker(GetUserMiddleware(false, true), (req, res) => {
|
||||
// res.setHeader("Cache-Control", "public, max-age=" + cacheTime);
|
||||
// res.send(GetUserPage(req.__));
|
||||
// }));
|
||||
|
||||
ViewRouter.get("/auth", Stacker(GetUserMiddleware(false, true), async (req, res) => {
|
||||
let { scope, redirect_uri, state, client_id }: { [key: string]: string } = req.query;
|
||||
|
Loading…
Reference in New Issue
Block a user