提交 cadad18b 编写于 作者: O o2null

Merge branch 'o2cloud_0813' into 'wrdp'

服务器启动时添加保存urlmapping至o2云unit的服务

See merge request o2oa/o2oa!4921
......@@ -179,7 +179,7 @@ public class WebServers extends ConcurrentSkipListMap<String, WebServer> {
map.put("indexPage", Config.portal().getIndexPage());
map.put("webSocketEnable", Config.communicate().wsEnable());
map.put("urlMapping", Config.portal().getUrlMapping());
if(!(Config.portal().getUrlMapping().isEmpty())){
if(null != Config.portal().getUrlMapping() && !(Config.portal().getUrlMapping().isEmpty())){
try {
String urlMapping = XGsonBuilder.toJson(Config.portal().getUrlMapping());
Map<String, String> urlmap = new HashMap<>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册