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
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package web
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed dist/*
|
||||
var StaticFiles embed.FS
|
||||
Reference in New Issue
Block a user