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
11 lines
91 B
Go
11 lines
91 B
Go
//go:build dev
|
|
|
|
package webspa
|
|
|
|
import (
|
|
"io/fs"
|
|
"os"
|
|
)
|
|
|
|
var SPA fs.FS = os.DirFS("web")
|