imc-vibe/backend/cmd/server/frontend.go
Christoph Haas da037e9a79 Remove underscore from allowed email local part characters
Underscore is technically allowed by RFC 5321 but causes issues with
many email systems in practice.
2026-03-26 00:48:34 +01:00

18 lines
209 B
Go

package main
import (
"embed"
"io/fs"
"net/http"
)
//go:embed all:embed
var Files embed.FS
func FrontendFileSystem() http.FileSystem {
return http.FS(Files)
}
func FrontendFS() fs.FS {
return Files
}