Merge pull request #7100 from paritytech/jg-dapp-localUrl

Local dapp development URL
This commit is contained in:
Marek Kotewicz
2017-11-21 20:42:51 +01:00
committed by GitHub
11 changed files with 56 additions and 8 deletions

View File

@@ -110,7 +110,9 @@ export default class Dapp extends Component {
switch (app.type) {
case 'local':
src = `${dappsUrl}/${app.id}/`;
src = app.localUrl
? `${app.localUrl}?appId=${app.id}`
: `${dappsUrl}/${app.id}/`;
break;
case 'network':