From e2263770665bbf15ce3bc49c009d73fa52e9986d Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 3 Apr 2023 20:25:19 +0100 Subject: [PATCH] browser: change default app url --- src/browser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser.cxx b/src/browser.cxx index 222f9f2..8969a40 100644 --- a/src/browser.cxx +++ b/src/browser.cxx @@ -9,7 +9,8 @@ Browser::Window::Window(CefRefPtr client, Browser::Details details, C if (details.controls_overlay) { CefRefPtr dict = CefDictionaryValue::Create(); dict->SetString("BoltAppUrl", url); - this->browser_view = CefBrowserView::CreateBrowserView(client, "http://bolt/app", browser_settings, std::move(dict), nullptr, this); + // URL is unused, but still needs to be interpreted as valid, for some reason + this->browser_view = CefBrowserView::CreateBrowserView(client, "0", browser_settings, std::move(dict), nullptr, this); } else { this->browser_view = CefBrowserView::CreateBrowserView(client, url, browser_settings, nullptr, nullptr, this); }