diff --git a/app/src/adapter/bun/bun.adapter.ts b/app/src/adapter/bun/bun.adapter.ts index fefe6ef..9c62047 100644 --- a/app/src/adapter/bun/bun.adapter.ts +++ b/app/src/adapter/bun/bun.adapter.ts @@ -37,7 +37,7 @@ export function serve(_config: Partial = {}, distPath?: string) "app-built", async () => { app.modules.server.get( - "/assets/*", + "/*", serveStatic({ root }) diff --git a/examples/bun/index.ts b/examples/bun/index.ts index 57c4eae..2d2b9cd 100644 --- a/examples/bun/index.ts +++ b/examples/bun/index.ts @@ -19,7 +19,7 @@ Bun.serve({ config, // this is only required to run inside the same workspace // leave blank if you're running this from a different project - "../../node_modules/bknd/dist" + "../../app/dist" ) });