feat(server): embed SPA dist with fallback handler; single-binary deploy

This commit is contained in:
2026-04-29 10:43:42 +08:00
parent 04a19dbcef
commit 78989a42ac
8 changed files with 70 additions and 2 deletions
+5
View File
@@ -35,3 +35,8 @@ Thumbs.db
# Internal docs (specs / plans should never be committed)
/docs/superpowers/
# Embedded SPA dist: ignore real built artifacts but keep the .gitkeep
# placeholder so `go build ./cmd/server` succeeds before `make build` runs.
/cmd/server/web/dist/*
!/cmd/server/web/dist/.gitkeep