c80bae5106
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
9 lines
81 B
Go
9 lines
81 B
Go
//go:build !dev
|
|
|
|
package webspa
|
|
|
|
import "embed"
|
|
|
|
//go:embed out
|
|
var SPA embed.FS
|