mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-23 01:39:55 +00:00
Ladybird+LibWeb: Use old error.html template for navigation errors again
This commit is contained in:
committed by
Andrew Kaster
parent
8f2319e966
commit
04ee15a5ad
@@ -71,6 +71,7 @@ ErrorOr<int> service_main(int ipc_socket, int fd_passing_socket)
|
||||
Web::Platform::FontPlugin::install(*new Ladybird::FontPlugin(is_layout_test_mode));
|
||||
|
||||
Web::set_resource_directory_url(TRY(String::formatted("file://{}/res", s_serenity_resource_root)));
|
||||
Web::set_error_page_url(TRY(String::formatted("file://{}/res/html/error.html", s_serenity_resource_root)));
|
||||
Web::set_directory_page_url(TRY(String::formatted("file://{}/res/html/directory.html", s_serenity_resource_root)));
|
||||
|
||||
TRY(Web::Bindings::initialize_main_thread_vm());
|
||||
|
||||
Reference in New Issue
Block a user