mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
* web: Automatic reload during server start up. * web: Flesh out reload behavior. * web: Flesh out wave boi.
17 lines
228 B
Go
17 lines
228 B
Go
package web
|
|
|
|
import (
|
|
_ "embed"
|
|
"net/http"
|
|
)
|
|
|
|
//go:embed robots.txt
|
|
var RobotsTxt []byte
|
|
|
|
//go:embed security.txt
|
|
var SecurityTxt []byte
|
|
|
|
var StaticDir = http.Dir("./web/dist/")
|
|
|
|
var StaticHandler = http.FileServer(StaticDir)
|