From 62b7950b7e6aaf7d29df1e7122f017669a7bd6ec Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Mon, 8 Dec 2025 13:17:46 -0500 Subject: [PATCH] Simplify URL handling --- app/main.main.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/main.main.ts b/app/main.main.ts index 69bcf0a137..ed552254c3 100644 --- a/app/main.main.ts +++ b/app/main.main.ts @@ -522,9 +522,8 @@ async function handleUrl(rawTarget: string) { return; } - const { protocol, hostname } = parsedUrl; - const isDevServer = - process.env.SIGNAL_ENABLE_HTTP && hostname === 'localhost'; + const { protocol } = parsedUrl; + const isDevServer = process.env.SIGNAL_ENABLE_HTTP; if ((protocol === 'http:' || protocol === 'https:') && !isDevServer) { try {