Navigation Menu

Skip to content

Commit

Permalink
对调测试服务器和正式服务器
Browse files Browse the repository at this point in the history
  • Loading branch information
lyy289065406 committed Aug 3, 2019
1 parent a472c3c commit 3ce0503
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/main/java/exp/au/Config.java
Expand Up @@ -65,12 +65,12 @@ public static Config getInstn() {
return instance;
}

public String TEST_SERVER() {
return xConf.getVal("testServer");
public String STAGING_SERVER() {
return xConf.getVal("stagingServer");
}

public String OFFICIAL_SERVER() {
return xConf.getVal("officialServer");
public String PRODUCE_SERVER() {
return xConf.getVal("produceServer");
}

}
4 changes: 2 additions & 2 deletions src/main/java/exp/au/ui/client/UpgradeUI.java
Expand Up @@ -217,8 +217,8 @@ public void run() {
*/
public String getServerURL() {
return serverCB.isSelected() ?
Config.getInstn().TEST_SERVER() :
Config.getInstn().OFFICIAL_SERVER();
Config.getInstn().STAGING_SERVER() :
Config.getInstn().PRODUCE_SERVER();
}

/**
Expand Down
Binary file modified src/main/resources/.verinfo
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/resources/exp/au/au_conf.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<config>

<testServer caption="版本管理页面: 测试服务器"><![CDATA[https://lyy289065406.github.io/auto-upgrader/]]></testServer>
<stagingServer caption="版本管理页面: 测试服务器"><![CDATA[https://lyy289065406.gitee.io/auto-upgrader/]]></stagingServer>

<officialServer caption="版本管理页面: 正式服务器"><![CDATA[https://lyy289065406.gitee.io/auto-upgrader/]]></officialServer>
<produceServer caption="版本管理页面: 正式服务器"><![CDATA[https://lyy289065406.github.io/auto-upgrader/]]></produceServer>

</config>

0 comments on commit 3ce0503

Please sign in to comment.