Remove useless ||
This commit is contained in:
parent
c5ce365482
commit
e5c8e0aad1
@ -14,7 +14,7 @@ const vscode = new VscodeProvider()
|
|||||||
router.get("/", async (req, res) => {
|
router.get("/", async (req, res) => {
|
||||||
if (!authenticated(req)) {
|
if (!authenticated(req)) {
|
||||||
return redirect(req, res, "login", {
|
return redirect(req, res, "login", {
|
||||||
to: req.baseUrl || "/",
|
to: req.baseUrl,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user