From 19273954e7ccd3355b54092513f5cb0068d66907 Mon Sep 17 00:00:00 2001 From: escudero89 <532828+escudero89@users.noreply.github.com> Date: Wed, 15 Oct 2025 08:10:25 +0200 Subject: [PATCH 1/2] Fix "serve" command with static files --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a92c3f..c4a137d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "host/main.ts", "scripts": { "build": "tsx ./build-all.mts", - "serve": "serve -s ./assets -p 4444 --cors", + "serve": "serve -s ./assets -p 4444 --cors -c ./serve.json", "dev": "vite --config vite.config.mts", "tsc": "tsc -b", "tsc:app": "tsc -p tsconfig.app.json", From 10875d01586e399395763d76400fa3cf59b56b43 Mon Sep 17 00:00:00 2001 From: escudero89 <532828+escudero89@users.noreply.github.com> Date: Wed, 15 Oct 2025 08:10:59 +0200 Subject: [PATCH 2/2] Create serve.json --- serve.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 serve.json diff --git a/serve.json b/serve.json new file mode 100644 index 0000000..b308df8 --- /dev/null +++ b/serve.json @@ -0,0 +1,3 @@ +{ + "cleanUrls": false +}