Merge pull request #2 from Peterae/dev

解决重复读取配置文件导致页面加载过慢的问题
This commit is contained in:
yizhaorong
2019-08-01 16:26:37 +08:00
committed by GitHub
@@ -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();