diff --git a/src/node/routes/vscode.ts b/src/node/routes/vscode.ts index adef232fd..cec3a8321 100644 --- a/src/node/routes/vscode.ts +++ b/src/node/routes/vscode.ts @@ -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, }) }