mirror of
https://gitee.com/shuto-github/intranet_app_manager.git
synced 2026-05-27 00:00:14 +08:00
解决重复读取配置文件导致页面加载过慢的问题
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user