summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/main.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-25 15:33:41 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-26 22:14:56 +0100
commitc22b0bb8b2305bcbb1a4ec4eab02c67358e4f8ea (patch)
tree2eed9febf75d66cb3f5ca41804daf8763562ed6b /Userland/Applications/Browser/main.cpp
parente84b3e71106a843c93255b5ae8f59d6838ace488 (diff)
downloadserenity-c22b0bb8b2305bcbb1a4ec4eab02c67358e4f8ea.zip
Browser+Base: Delete provided Browser.ini file
Having files in Base's user `.config` folder means that every time the Serenity image is built, all user settings in that file are thrown away. So, let's not do that! :^) Modified the default value for the homepage url to match what was in Browser.ini, so there is no visible change.
Diffstat (limited to 'Userland/Applications/Browser/main.cpp')
-rw-r--r--Userland/Applications/Browser/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/main.cpp b/Userland/Applications/Browser/main.cpp
index 393dc5e0c7..6520ad1c81 100644
--- a/Userland/Applications/Browser/main.cpp
+++ b/Userland/Applications/Browser/main.cpp
@@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-browser");
- Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "about:blank");
+ Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "file:///res/html/misc/welcome.html");
Browser::g_search_engine = Config::read_string("Browser", "Preferences", "SearchEngine", {});
auto ad_filter_list_or_error = Core::File::open(String::formatted("{}/BrowserContentFilters.txt", Core::StandardPaths::config_directory()), Core::OpenMode::ReadOnly);