Files
phishingclub/backend/frontend/frontend_dev.go
2025-08-21 16:14:09 +02:00

15 lines
289 B
Go

//go:build dev
package frontend
import "embed"
// In dev mode no files are embeded
// all files are served from the filesystem at runtime
var content embed.FS
// GetEmbededFS returns the embeded file system that contains the frontend
func GetEmbededFS() *embed.FS {
return &content
}