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:
@@ -0,0 +1,10 @@
|
||||
//go:build dev
|
||||
|
||||
package webspa
|
||||
|
||||
import (
|
||||
"io/fs"
|
||||
"os"
|
||||
)
|
||||
|
||||
var SPA fs.FS = os.DirFS("web")
|
||||
Reference in New Issue
Block a user