From ffa8ad0a2232cc6ce898aa93d1fd1031a1f41774 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 23 Jul 2025 12:15:02 +0400 Subject: [PATCH] refac: azure url detection --- src/lib/components/AddConnectionModal.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/components/AddConnectionModal.svelte b/src/lib/components/AddConnectionModal.svelte index c17c57ba34..b62c6e4d16 100644 --- a/src/lib/components/AddConnectionModal.svelte +++ b/src/lib/components/AddConnectionModal.svelte @@ -35,9 +35,7 @@ let connectionType = 'external'; let azure = false; $: azure = - (url.includes('azure.com') || url.includes('cognitive.microsoft.com')) && !direct - ? true - : false; + (url.includes('azure.') || url.includes('cognitive.microsoft.com')) && !direct ? true : false; let prefixId = ''; let enable = true;