refactor: launch web url for dev server + css update

This commit is contained in:
henrygd
2025-09-07 14:07:23 -04:00
parent a1eb15dabb
commit e53d41dcec
2 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ import (
"strings"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/osutils"
)
// Wraps http.RoundTripper to modify dev proxy HTML responses
@@ -75,5 +76,6 @@ func (h *Hub) startServer(se *core.ServeEvent) error {
proxy.ServeHTTP(e.Response, e.Request)
return nil
})
_ = osutils.LaunchURL(h.appURL)
return nil
}