解决重复读取配置文件导致页面加载过慢的问题

This commit is contained in:
peterae
2019-08-01 16:19:42 +08:00
parent bedf397122
commit 2a9af27788
@@ -54,6 +54,14 @@ public class PathManager {
}
String baseURL = protocol + "://" + domain + portString + "/";
//解决重复读配置文件
if (isHttps) {
httpsBaseURL = baseURL;
} else {
httpBaseURL = baseURL;
}
return baseURL;
} catch (Exception e) {
e.printStackTrace();