Updated frontend running dev mode using deno/npm/bun as well. Additional dev mode Caddyfile to go https://localhost/.

This commit is contained in:
Leo Vasanko
2025-12-01 20:07:26 +00:00
parent 0678d7f9ec
commit 74a7723300
2 changed files with 79 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
localhost {
# Forwards API by caddy, bypassing the Vite dev proxy
# Avoids bug https://github.com/oven-sh/bun/issues/9882
handle /api/* {
reverse_proxy :4402 # directly to backend
}
handle {
reverse_proxy :4403 # vite dev server
}
}