Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f46e6b0

Browse files
committed
Enable demo mode on CN
1 parent f283bde commit f46e6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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_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
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\"],\"enableDemoMode\":true\},\{\"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

0 commit comments

Comments
 (0)