We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8a022c commit 827ec95Copy full SHA for 827ec95
1 file changed
GameFrameX.Utility/Setting/GlobalSettings.cs
@@ -92,6 +92,12 @@ public static void SetCurrentSetting(AppSetting setting)
92
{
93
setting.SaveDataInterval = GlobalConst.SaveIntervalInMilliSeconds;
94
}
95
+
96
+ if (setting.HttpUrl.IsNullOrEmptyOrWhiteSpace())
97
+ {
98
+ LogHelper.WarnConsole("HttpUrl为空,使用默认值为: /game/api/");
99
+ setting.HttpUrl = "/game/api/";
100
+ }
101
102
CurrentSetting = setting;
103
0 commit comments