Files
authentik/web/static_outpost.go
2025-10-30 14:50:28 +01:00

19 lines
243 B
Go

//go:build outpost_static_embed
package web
import (
"embed"
"net/http"
)
//go:embed dist/*
var StaticDist embed.FS
//go:embed authentik
var StaticAuthentik embed.FS
func init() {
StaticHandler = http.FileServer(http.FS(StaticDist))
}