feat(http): add imprint url

This commit is contained in:
2026-06-24 11:37:20 +02:00
parent 748b83f4a0
commit 959a4edc32
2 changed files with 17 additions and 5 deletions
+4 -1
View File
@@ -13,6 +13,7 @@ var config pq.Config
var (
oidcIssuer, oidcClientID, oidcClientSecret, oidcRedirectURI string
jwtSigningKey string
imprintURL string
)
func main() {
@@ -26,7 +27,7 @@ func main() {
panic(err)
}
if err := http.Start(); err != nil {
if err := http.Start(imprintURL); err != nil {
panic(err)
}
@@ -47,5 +48,7 @@ func handleflag() {
flag.StringVar(&jwtSigningKey, "signingKey", "UNSAFE", "The JWT signingkey")
flag.StringVar(&imprintURL, "imprinturl", "", "The URL to the sites imprint")
flag.Parse()
}