mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
19 lines
243 B
Go
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))
|
|
}
|