mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Say what WEB_STATIC=0 actually does in the startup log
The line pointed at the Vite dev server, which is only ever right on a developer's machine - on a deployed gateway it reads like a bug report waiting to happen. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
cc715e24b2
commit
f48c1cc91a
1 file changed
+1
-1
@@ -375,7 +375,7 @@ server.listen(PORT, () => {
|
||||
console.log(`Serving static UI from ${WEB_DIST}`);
|
||||
console.log(`Dev tip: use http://localhost:5173/ for live UI; rebuild web/dist after UI changes if you open :${PORT}`);
|
||||
} else {
|
||||
console.log(`Static UI disabled (WEB_STATIC=0) — open http://localhost:5173/ for the Vite dev UI`);
|
||||
console.log(`Static UI disabled (WEB_STATIC=0): WebSocket and /api/feedback only, no UI served from this host`);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user