Skip to content

Commit ebe09cf

Browse files
committed
Provide new network configuration
1 parent a17fd37 commit ebe09cf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ script:
2727
- |
2828
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
2929
yarn build-desktop
30-
echo \{\"networks\":[\{\"key\":\"prebuilt_mainnet\",\"name\":\"Apla Main Network\",\"networkID\":1,\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_testnet\",\"name\":\"Apla Test Network\",\"networkID\":1,\"fullNodes\":[\"https://testapla0.apla.io:7079\",\"https://testapla1.apla.io:7079\",\"https://testapla2.apla.io:7079\"]\}]\} > ./build/app/settings.json
30+
echo \{\"networks\":[\{\"key\":\"prebuilt_xregdemo\",\"name\":\"XReg Demo Network\",\"networkID\":1000,\"fullNodes\":[\"https://xreg-node0.apla.io:7079\",\"https://xreg-node1.apla.io:7079\",\"https://xreg-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_cn\",\"name\":\"Consortium Network\",\"networkID\":4000,\"fullNodes\":[\"https://node0.consortium-network.org\",\"https://node1.consortium-network.org\",\"https://node2.consortium-network.org\"]\},\{\"key\":\"prebuilt_xregtest\",\"name\":\"XReg Test Network\",\"networkID\":1200,\"fullNodes\":[\"https://xreg-test0.apla.io:7079\",\"https://xreg-test1.apla.io:7079\",\"https://xreg-test2.apla.io:7079\"]\},\{\"key\":\"prebuilt_xregminicn\",\"name\":\"XReg MiniCN\",\"networkID\":3201,\"fullNodes\":[\"https://xreg-minicn0.apla.io:7079\",\"https://xreg-minicn1.apla.io:7079\",\"https://xreg-minicn2.apla.io:7079\"]\}]\} > ./build/app/settings.json
3131
yarn release -ml
3232
yarn release -w
3333
fi
@@ -39,7 +39,7 @@ before_cache:
3939

4040
before_deploy:
4141
- echo '<!DOCTYPE html><html><head><meta charset=utf-8><title>Apla</title><script type="text/javascript">var segmentCount=0;var l=window.location;l.replace(l.protocol+"//"+l.hostname+(l.port?":"+l.port:"")+l.pathname.split("/").slice(0,1+segmentCount).join("/")+"/?p=/"+l.pathname.slice(1).split("/").slice(segmentCount).join("/").replace(/&/g,"~and~")+(l.search?"&q="+l.search.slice(1).replace(/&/g,"~and~"):"")+l.hash);</script></head><body></body></html>' > ./build/404.html
42-
- echo \{\"networks\":[\{\"key\":\"prebuilt_mainnet\",\"name\":\"Apla Main Network\",\"networkID\":1,\"fullNodes\":[\"https://main-node0.apla.io:7079\",\"https://main-node1.apla.io:7079\",\"https://main-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_testnet\",\"name\":\"Apla Test Network\",\"networkID\":1,\"fullNodes\":[\"https://testapla0.apla.io:7079\",\"https://testapla1.apla.io:7079\",\"https://testapla2.apla.io:7079\"]\}]\} > ./build/settings.json
42+
- echo \{\"networks\":[\{\"key\":\"prebuilt_xregdemo\",\"name\":\"XReg Demo Network\",\"networkID\":1000,\"fullNodes\":[\"https://xreg-node0.apla.io:7079\",\"https://xreg-node1.apla.io:7079\",\"https://xreg-node2.apla.io:7079\"]\},\{\"key\":\"prebuilt_cn\",\"name\":\"Consortium Network\",\"networkID\":4000,\"fullNodes\":[\"https://node0.consortium-network.org\",\"https://node1.consortium-network.org\",\"https://node2.consortium-network.org\"]\},\{\"key\":\"prebuilt_xregtest\",\"name\":\"XReg Test Network\",\"networkID\":1200,\"fullNodes\":[\"https://xreg-test0.apla.io:7079\",\"https://xreg-test1.apla.io:7079\",\"https://xreg-test2.apla.io:7079\"]\},\{\"key\":\"prebuilt_xregminicn\",\"name\":\"XReg MiniCN\",\"networkID\":3201,\"fullNodes\":[\"https://xreg-minicn0.apla.io:7079\",\"https://xreg-minicn1.apla.io:7079\",\"https://xreg-minicn2.apla.io:7079\"]\}]\} > ./build/settings.json
4343

4444
deploy:
4545
provider: pages

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apla-front",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"author": {
55
"name": "apla-front"
66
},

0 commit comments

Comments
 (0)