diff --git a/src/components/ProxyRegistrar.astro b/src/components/ProxyRegistrar.astro index 832c171e..a77ceaaf 100644 --- a/src/components/ProxyRegistrar.astro +++ b/src/components/ProxyRegistrar.astro @@ -28,6 +28,7 @@ const preference = Alu.store.get("proxy").value; let url = input.value.trim(); if (!isUrl(url)) url = getSearchEngine() + url; + else if (!(url.startsWith("https://") || url.startsWith("http://"))) url = "http://" + url; if (preference === "ultraviolet") { return window.__uv$config.prefix + window.__uv$config.encodeUrl(url); } else if (preference == "rammerhead") {