mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
15 lines
289 B
Go
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
|
|
}
|