Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Adverts): set .rootURL to '/' by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Dec 30, 2015
1 parent df85673 commit ba77aa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/services/wallet.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ function Wallet($http, $window, $timeout, Alerts, MyWallet, MyBlockchainApi, MyB
} else {
wallet.api.setRootURL("/");
}
if($rootScope.rootURL === undefined) {
$rootScope.rootURL = "/";
}

wallet.payment = MyWalletPayment;
wallet.tokenEndpoints = MyWalletTokenEndpoints;
Expand Down

0 comments on commit ba77aa9

Please sign in to comment.