revert to previous version behavior of setting hub.appURL (#1148)

- remove fallback that sets appUrl to settings.Meta.AppURL
- prefer using current browser URL in generated config if APP_URL not set
This commit is contained in:
henrygd
2025-09-07 14:08:56 -04:00
parent e53d41dcec
commit fd050f2a8f

View File

@@ -112,8 +112,6 @@ func (h *Hub) initialize(e *core.ServeEvent) error {
// set URL if BASE_URL env is set
if h.appURL != "" {
settings.Meta.AppURL = h.appURL
} else {
h.appURL = settings.Meta.AppURL
}
if err := e.App.Save(settings); err != nil {
return err