From b940488c8fce76189184744bef6e0fe0c1a56458 Mon Sep 17 00:00:00 2001 From: dswbx Date: Wed, 27 Nov 2024 17:13:01 +0100 Subject: [PATCH] confirmed bun --- app/src/adapter/bun/bun.adapter.ts | 2 +- examples/bun/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" ) });