This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/static.go

15 lines
201 B
Go
Raw Permalink 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/"))