func openURLInBrowser(path string) {
	// This can be done before actually starting the server, as modern browsers will
	// automatically reload the page if a local port is closed at page load and then opened.
	serverAddress := getServerURL(path)

	err := browser.OpenURL(serverAddress)
	if err != nil {
		logger.Error("Could not open browser: " + err.Error())
	}
}
// openURLInBrowser opens a browser to the Stash UI. Path can be an empty string for main page.
openURLInBrowser opens a browser to the Stash UI. Path can be an empty string for main page.
// openURLInBrowser opens a browser to the Stash UI . Path can be an empty string for main page .
func openURLInBrowser(path string) {
	serverAddress := getServerURL(path)
	err := browser.OpenURL(serverAddress)
	if err != nil {
		logger.Error("Could not open browser: " + err.Error())
	}
}
func openURLInBrowser ( path string ) { serverAddress := getServerURL ( path ) err := browser . OpenURL ( serverAddress ) if err != nil { logger . Error ( " " + err . Error ( ) ) } }
openURLInBrowser opens a browser to the Stash UI.
openURLInBrowser opens a browser to the Stash UI .
// This can be done before actually starting the server, as modern browsers will // automatically reload the page if a local port is closed at page load and then opened.