Fix routing for Express 5

This commit is contained in:
Asher
2025-03-06 15:03:20 -09:00
parent 50c3e4bb1b
commit 4b7bca38e2
2 changed files with 20 additions and 23 deletions

View File

@@ -175,7 +175,7 @@ router.get("/manifest.json", async (req, res) => {
const appName = req.args["app-name"] || "code-server"
res.writeHead(200, { "Content-Type": "application/manifest+json" })
return res.end(
res.end(
replaceTemplates(
req,
JSON.stringify(