auto set pocketbase app name

This commit is contained in:
Christian Beutel
2025-06-26 11:34:12 +02:00
parent 6f0fc6db72
commit b828cdb533

View File

@@ -898,6 +898,9 @@ func onBootstrapHandler() func(se *core.BootstrapEvent) error {
return err
}
if e.App.Settings().Meta.AppName == "Acme" {
e.App.Settings().Meta.AppName = "wanderer"
}
if v := os.Getenv("ORIGIN"); v != "" {
e.App.Settings().Meta.AppURL = v
}