From 5c82f40e8615bd2ca75100351203481f58f31bec Mon Sep 17 00:00:00 2001 From: huyufei Date: Wed, 20 Mar 2024 18:27:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20CDNLoader=20?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/GuruCore/Runtime/ExtensionKit/CDNLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/GuruCore/Runtime/ExtensionKit/CDNLoader.cs b/Runtime/GuruCore/Runtime/ExtensionKit/CDNLoader.cs index 836358f..7734b68 100644 --- a/Runtime/GuruCore/Runtime/ExtensionKit/CDNLoader.cs +++ b/Runtime/GuruCore/Runtime/ExtensionKit/CDNLoader.cs @@ -98,7 +98,7 @@ public class CDNLoader : MonoBehaviour public static CDNLoader Create(string defaultValue = "", string remoteKey = "") { // 注入自定义的 CDNConfigKey, 可读取自定义的Default配置 - if(!string.IsNullOrEmpty(remoteKey)) CDNConfig.CdnConfigRemoteKey = remoteKey; + if(string.IsNullOrEmpty(remoteKey)) remoteKey = CDNConfig.CdnConfigRemoteKey; if (!string.IsNullOrEmpty(defaultValue)) {