mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
LibWeb: Recognise and pass gemini URLs to ProtocolServer
This commit is contained in:
parent
aaa6f90c34
commit
184ee8ac77
|
@ -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…
Reference in a new issue