1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

environment service to ts

This commit is contained in:
Kyle Spearrin
2017-11-03 12:33:34 -04:00
parent 6ae7b2e035
commit 43ef921886
5 changed files with 92 additions and 107 deletions

View File

@@ -1,4 +1,4 @@
angular
angular
.module('bit.settings')
.controller('settingsEnvironmentController', function ($scope, i18nService, $analytics, utilsService,
@@ -20,7 +20,7 @@
identity: $scope.identityUrl,
webVault: $scope.webVaultUrl,
icons: $scope.iconsUrl
}, function (resUrls) {
}).then(function (resUrls) {
$timeout(function () {
// re-set urls since service can change them, ex: prefixing https://
$scope.baseUrl = resUrls.base;