diff --git a/AK/URL.cpp b/AK/URL.cpp index 505213d4e7..5ba43cd2f6 100644 --- a/AK/URL.cpp +++ b/AK/URL.cpp @@ -441,6 +441,10 @@ u16 URL::default_port_for_protocol(const String& protocol) return 6667; if (protocol == "ircs") return 6697; + if (protocol == "ws") + return 80; + if (protocol == "wss") + return 443; return 0; }