diff --git a/src/contentProviders/serverProvider.ts b/src/contentProviders/serverProvider.ts index 44d31ee..9d170b9 100644 --- a/src/contentProviders/serverProvider.ts +++ b/src/contentProviders/serverProvider.ts @@ -26,6 +26,10 @@ export default class ServerProvider extends BaseProvider { async handleProxy(details: OnRequestDetailsType): Promise { const dns = await this.resolveDns(details); - return { type: "http", host: dns, port: 80 }; + if (isIp(dns) || isDomain(dns)) { + return { type: "http", host: dns, port: 80 }; + } + + return false; } }