mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Recognise and pass gemini URLs to ProtocolServer
This commit is contained in:
parent
aaa6f90c34
commit
184ee8ac77
Notes:
sideshowbarker
2024-07-19 06:34:17 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/184ee8ac774 Pull-request: https://github.com/SerenityOS/serenity/pull/2218 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void ResourceLoader::load(const URL& url, Function<void(const ByteBuffer&, const
|
|||
return;
|
||||
}
|
||||
|
||||
if (url.protocol() == "http" || url.protocol() == "https") {
|
||||
if (url.protocol() == "http" || url.protocol() == "https" || url.protocol() == "gemini") {
|
||||
auto download = protocol_client().start_download(url.to_string());
|
||||
if (!download) {
|
||||
if (error_callback)
|
||||
|
|
Loading…
Add table
Reference in a new issue