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