- Implement embedded static file serving for frontend assets - Update API routes to use '/api' prefix - Add web handler for static file serving with proper content types - Modify .gitignore and README to reflect new web/dist directory structure
7 lines
72 B
Go
7 lines
72 B
Go
package web
|
|
|
|
import "embed"
|
|
|
|
//go:embed dist/*
|
|
var StaticFiles embed.FS
|