feat: enhance Makefile commands and update README for improved development workflow

refactor: separate API and SPA handling in server routes and add static file serving options

test: add tests for SPA handling and static file serving

feat: implement embedded SPA support for production and development environments
This commit is contained in:
mlogclub
2026-05-23 22:44:06 +08:00
parent c6c1c00141
commit c80bae5106
8 changed files with 466 additions and 144 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build dev
package webspa
import (
"io/fs"
"os"
)
var SPA fs.FS = os.DirFS("web")