mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Ladybird+LibWeb: Use old error.html template for navigation errors again
This commit is contained in:
parent
8f2319e966
commit
04ee15a5ad
7 changed files with 38 additions and 6 deletions
|
@ -6,16 +6,20 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/Loader/Resource.h>
|
||||
#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
|
||||
#include <LibWeb/Loader/Resource.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
String resource_directory_url();
|
||||
void set_resource_directory_url(String);
|
||||
String error_page_url();
|
||||
void set_error_page_url(String);
|
||||
String directory_page_url();
|
||||
void set_directory_page_url(String);
|
||||
|
||||
ErrorOr<String> load_error_page(AK::URL const&);
|
||||
|
||||
ErrorOr<String> load_file_directory_page(LoadRequest const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue