From d4d8252725281bf90d19622da61bd92dec237b31 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 22 九月 2026 19:11:55 +0800
Subject: [PATCH] merge3
---
Assets/Launch/Config/WebGLRemoteConfig.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Assets/Launch/Config/WebGLRemoteConfig.cs b/Assets/Launch/Config/WebGLRemoteConfig.cs
index d544cbc..0d74401 100644
--- a/Assets/Launch/Config/WebGLRemoteConfig.cs
+++ b/Assets/Launch/Config/WebGLRemoteConfig.cs
@@ -28,7 +28,7 @@
/// <summary>
/// RemoteCDN 妯″紡涓嬬殑涓� CDN 鍦板潃銆�
/// </summary>
- public static readonly string RemoteMainURL = "https://cdn.example.com/bundles/WebGL";
+ public static readonly string RemoteMainURL = "";
/// <summary>
/// RemoteCDN 妯″紡涓嬬殑澶囩敤 CDN 鍦板潃锛堢暀绌哄垯涓庝富鍦板潃鐩稿悓锛夈��
@@ -82,8 +82,8 @@
string mainUrl = ActiveServerURL;
if (string.IsNullOrEmpty(mainUrl))
{
- Debug.LogWarning($"[WebGLRemoteConfig] 妯″紡={CurrentMode} 浣嗘湇鍔″櫒鍦板潃涓虹┖锛屽洖閫�鍒� Local 妯″紡");
- return null;
+ throw new System.InvalidOperationException(
+ $"[WebGLRemoteConfig] 妯″紡={CurrentMode} 浣嗘湇鍔″櫒鍦板潃涓虹┖銆傝閰嶇疆鐗堟湰鏈嶅姟鍣� resource_url锛屾垨璁剧疆鏈夋晥鐨� RemoteMainURL銆�");
}
string fallbackUrl;
--
Gitblit v1.8.0