LibWeb: Fix error page icon outside of serenity
This commit is contained in:
parent
537fcaf59e
commit
ce1b7e63c9
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/cammo1123 Commit: https://github.com/SerenityOS/serenity/commit/ce1b7e63c9 Pull-request: https://github.com/SerenityOS/serenity/pull/17076 Reviewed-by: https://github.com/linusg
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue