Update warnings in embark after upload

warn user that they need to run a blockchain node and swarm for the dapp to work correctly.
This commit is contained in:
emizzle 2018-09-10 22:47:31 +10:00
parent 6cfc914a04
commit 1d03f01531
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class Swarm {
} }
console.log(("=== " + __("DApp available at") + ` ${self.providerUrl}/bzz:/${dir_hash}/index.html`).green); console.log(("=== " + __("DApp available at") + ` ${self.providerUrl}/bzz:/${dir_hash}/index.html`).green);
console.log(("=== " + __("DApp available at") + ` https://swarm-gateways.net/bzz:/${dir_hash}/index.html`).green); console.log(("=== " + __("DApp available at") + ` https://swarm-gateways.net/bzz:/${dir_hash}/index.html`).green);
console.log(("=== " + __("NOTE: A blockchain node must be running for the dApp to work correctly (ie 'embark run' or 'embark blockchain')").yellow)); console.log(("=== " + __("NOTE: Swarm AND a blockchain node must be running for the dApp to work correctly (ie 'embark run')").yellow));
callback(null, dir_hash); callback(null, dir_hash);
} }