mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
Base+Ladybird: Move Ladybird-related HTML files to their own folder
Pages like the new tab page, error page, etc. all belong solely to Ladybird, but are scattered across a couple of subfolders in Base. This moves them all to Base/res/ladybird.
This commit is contained in:
parent
980e32b4fe
commit
05c8d5ba57
11 changed files with 12 additions and 12 deletions
|
@ -33,7 +33,7 @@ inline String const& default_new_tab_url()
|
|||
{
|
||||
// FIXME: Teach LibWeb how to load resource:// URLs, rather than converting to a file:// URL here.
|
||||
static auto default_new_tab_url = []() {
|
||||
static constexpr auto url = "resource://html/misc/new-tab.html"sv;
|
||||
static constexpr auto url = "resource://ladybird/new-tab.html"sv;
|
||||
return MUST(Core::Resource::load_from_uri(url))->file_url();
|
||||
}();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue