mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:25:06 +00:00
LibWeb: Recognise and pass gemini URLs to ProtocolServer
This commit is contained in:
parent
aaa6f90c34
commit
184ee8ac77
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
Add a link
Reference in a new issue