mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: azure url detection
This commit is contained in:
parent
f44812b1a8
commit
ffa8ad0a22
1 changed files with 1 additions and 3 deletions
|
|
@ -35,9 +35,7 @@
|
||||||
let connectionType = 'external';
|
let connectionType = 'external';
|
||||||
let azure = false;
|
let azure = false;
|
||||||
$: azure =
|
$: azure =
|
||||||
(url.includes('azure.com') || url.includes('cognitive.microsoft.com')) && !direct
|
(url.includes('azure.') || url.includes('cognitive.microsoft.com')) && !direct ? true : false;
|
||||||
? true
|
|
||||||
: false;
|
|
||||||
|
|
||||||
let prefixId = '';
|
let prefixId = '';
|
||||||
let enable = true;
|
let enable = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue