From 91db3fd72c391f16ecc665a2ee001ec969c6d85f Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Mon, 24 Nov 2025 15:56:31 +0000 Subject: [PATCH] Dev --- frontend/src/proprietary/utils/protocolDetection.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/proprietary/utils/protocolDetection.ts b/frontend/src/proprietary/utils/protocolDetection.ts index eb5d0a29a6..4b97f38bb8 100644 --- a/frontend/src/proprietary/utils/protocolDetection.ts +++ b/frontend/src/proprietary/utils/protocolDetection.ts @@ -13,10 +13,10 @@ export function isSecureContext(): boolean { const protocol = window.location.protocol; // Localhost is considered secure for development - // const hostname = window.location.hostname; - // if (hostname === 'localhost' || hostname === '127.0.0.1' || hostname === '[::1]') { - // return true; - // } + const hostname = window.location.hostname; + if (hostname === 'localhost' || hostname === '127.0.0.1' || hostname === '[::1]') { + return true; + } // Check if HTTPS return protocol === 'https:';