summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Base/res/html/error.html2
-rw-r--r--Userland/Libraries/LibWeb/Loader/FrameLoader.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Base/res/html/error.html b/Base/res/html/error.html
index c9d254c81d..c7fb60897f 100644
--- a/Base/res/html/error.html
+++ b/Base/res/html/error.html
@@ -13,7 +13,7 @@
</head>
<body>
<header>
- <img src="file:///res/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
+ <img src="../icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
<h1>Failed to load @failed_url@</h1>
</header>
<p>Error: @error@</p>
diff --git a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp
index 377a4f875e..7e786ea94e 100644
--- a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp
+++ b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp
@@ -344,7 +344,7 @@ void FrameLoader::load_error_page(const AK::URL& failed_url, DeprecatedString co
generator.set("failed_url", escape_html_entities(failed_url.to_deprecated_string()));
generator.set("error", escape_html_entities(error));
generator.append(data);
- load_html(generator.as_string_view(), failed_url);
+ load_html(generator.as_string_view(), s_error_page_url);
},
[](auto& error, auto) {
dbgln("Failed to load error page: {}", error);