返回提交历史
Modified
src/routes/webui.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix(webui): 404 for favicon.ico with 'npm run build'
212a5e70
代码差异
1 个文件
+1
-1
@@ -40,7 +40,7 @@ webuiRouter.use("/webui", express.static(path.join(rootDir, "static/webui")));
40
40
41
41
// Serve favicon
42
42
webuiRouter.get("/favicon.ico", (_req, res) => {
43
res.sendFile(path.join(rootDir, "static/fixed_responses/favicon.ico"));
43
res.sendFile(path.join(repoDir, "static/fixed_responses/favicon.ico"));
44
44
});
45
45
46
46
// Serve warframe-riven-info