1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

adjust paths to portal

This commit is contained in:
Kyle Spearrin
2020-08-27 16:12:20 -04:00
parent e17a49acd5
commit fa11382c08
4 changed files with 8 additions and 6 deletions

View File

@@ -34,11 +34,11 @@ export class OrganizationLayoutComponent implements OnInit, OnDestroy {
private environmentService: EnvironmentService) { }
ngOnInit() {
this.enterpriseUrl = 'https://enterprise.bitwarden.com';
this.enterpriseUrl = 'https://portal.bitwarden.com';
if (this.environmentService.enterpriseUrl != null) {
this.enterpriseUrl = this.environmentService.enterpriseUrl;
} else if (this.environmentService.baseUrl != null) {
this.enterpriseUrl = this.environmentService.baseUrl + '/enterprise';
this.enterpriseUrl = this.environmentService.baseUrl + '/portal';
}
document.body.classList.remove('layout_frontend');