fix(server): fix forntend path
vi did:web:vt3e.cat
Sun, 10 May 2026 05:17:30 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
pkgs/bot/src/server/index.ts
→
pkgs/bot/src/server/index.ts
@@ -521,7 +521,7 @@
"/*": async (request) => { const { pathname } = new URL(request.url); - const file = Bun.file(`frontend/dist/${pathname}`); + const file = Bun.file(`../frontend/dist/${pathname}`); if (await file.exists()) return new Response(file, { status: 200 }); const indexFile = Bun.file(`frontend/dist/index.html`);