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)) {