Remove useless ||

This commit is contained in:
Asher 2020-11-03 16:14:24 -06:00
parent c5ce365482
commit e5c8e0aad1
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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,
}) })
} }