mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-18 03:06:16 +01:00
refactor: launch web url for dev server + css update
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user