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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user