feat: embed React frontend in Go binary with SPA fallback

This commit is contained in:
2026-05-21 21:39:07 +00:00
parent 74d6130dd5
commit 6b6b66ab89
3 changed files with 87 additions and 0 deletions
+4
View File
@@ -13,6 +13,10 @@ dist
dist-ssr
*.local
# Frontend build output (embedded at Go build time)
# Allow the fallback placeholder so embed always has at least index.html
!src/dist/index.html
# Environment files
.env
.env.local