authentik/web/static.go

15 lines
201 B
Go
Raw Normal View History

package web
import (
_ "embed"
"net/http"
)
//go:embed robots.txt
var RobotsTxt []byte
//go:embed security.txt
var SecurityTxt []byte
var StaticHandler = http.FileServer(http.Dir("./web/dist/"))