Skip to content

Commit

Permalink
dApp: rename VUE_APP_TRANSPORT and support VUE_APP_MATRIX_LIST_URL envar
Browse files Browse the repository at this point in the history
  • Loading branch information
andrevmatos committed Jul 30, 2020
1 parent ed7c24e commit b51b2a3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion raiden-dapp/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VUE_APP_PFS=https://pfs.demo001.env.raiden.network
VUE_APP_TRANSPORT=https://transport.demo001.env.raiden.network
VUE_APP_MATRIX_SERVER=https://transport.demo001.env.raiden.network
VUE_APP_HUB=hub.raiden.eth
VUE_APP_ALLOW_MAINNET=true
2 changes: 1 addition & 1 deletion raiden-dapp/.env.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ VUE_APP_CONFIGURATION_URL=./e2e.json
VUE_APP_DEPLOYMENT_INFO=./deployment_private_net.json
VUE_APP_DEPLOYMENT_SERVICES_INFO=./deployment_services_private_net.json
VUE_APP_PFS=http://localhost:6000
VUE_APP_TRANSPORT=http://localhost
VUE_APP_MATRIX_SERVER=http://localhost
NODE_ENV=development
E2E=true
2 changes: 1 addition & 1 deletion raiden-dapp/.env.ghpages
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NODE_ENV=production
VUE_APP_PFS=https://pfs.demo001.env.raiden.network
VUE_APP_TRANSPORT=https://transport.demo001.env.raiden.network
VUE_APP_MATRIX_SERVER=https://transport.demo001.env.raiden.network
VUE_APP_HUB=hub.raiden.eth
VUE_APP_ALLOW_MAINNET=false
2 changes: 2 additions & 0 deletions raiden-dapp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- [#1786] Introduces snackbar display for notifications
- [#1824] Listen to channel settle events and push notifications for them
- [#2002] Add support to VUE_APP_MATRIX_LIST_URL transpile-time env var

### Changed

Expand All @@ -26,6 +27,7 @@
[#1786]: https://github.com/raiden-network/light-client/issues/1786
[#1824]: https://github.com/raiden-network/light-client/issues/1824
[#1875]: https://github.com/raiden-network/light-client/issues/1875
[#2002]: https://github.com/raiden-network/light-client/issues/2002

## [0.10.0] - 2020-07-13

Expand Down
3 changes: 2 additions & 1 deletion raiden-dapp/src/services/raiden-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export default class RaidenService {
{
pfsSafetyMargin: 1.1,
pfs: process.env.VUE_APP_PFS,
matrixServer: process.env.VUE_APP_TRANSPORT,
matrixServer: process.env.VUE_APP_MATRIX_SERVER,
matrixServerLookup: process.env.VUE_APP_MATRIX_LIST_URL,
},
subkey
);
Expand Down

0 comments on commit b51b2a3

Please sign in to comment.