Files
backend/web/embed.go
NanamiAdmin a0ef35627b feat(web): add static file serving and update API routes
- 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
2026-05-05 15:45:51 +08:00

7 lines
72 B
Go

package web
import "embed"
//go:embed dist/*
var StaticFiles embed.FS