mirror of
https://github.com/zebrajr/ollama-webui.git
synced 2026-01-15 12:15:13 +00:00
chore: format
This commit is contained in:
@@ -37,7 +37,7 @@ function initNetworkProxyFromEnv() {
|
||||
* @see https://github.com/nodejs/undici/issues/2224
|
||||
*/
|
||||
if (!preferedProxy || !preferedProxy.startsWith('http')) return;
|
||||
let preferedProxyURL
|
||||
let preferedProxyURL;
|
||||
try {
|
||||
preferedProxyURL = new URL(preferedProxy).toString();
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user