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,8 @@
|
||||
//go:build !dev
|
||||
|
||||
package webspa
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed out
|
||||
var SPA embed.FS
|
||||
Reference in New Issue
Block a user