Refactor vscode endpoints to use fork directly.
This commit is contained in:
@ -111,7 +111,7 @@ router.post("/", async (req, res) => {
|
||||
)
|
||||
|
||||
throw new Error("Incorrect password")
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
const renderedHtml = await getRoot(req, error)
|
||||
res.send(renderedHtml)
|
||||
}
|
||||
|
Reference in New Issue
Block a user