mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Fix host configuration in demo-shell when no port is present (#1971)
This commit is contained in:
committed by
Eugenio Romano
parent
72a01918ee
commit
3cfe8b1b6f
@@ -29,8 +29,8 @@ declare var document: any;
|
||||
export class AppComponent {
|
||||
searchTerm: string = '';
|
||||
|
||||
ecmHost: string = `http://${window.location.hostname}:${window.location.port}/ecm`;
|
||||
bpmHost: string = `http://${window.location.hostname}:${window.location.port}/bpm`;
|
||||
ecmHost: string = `http://${window.location.hostname}` + (window.location.port ? `:${window.location.port}` : '') + `/ecm`;
|
||||
bpmHost: string = `http://${window.location.hostname}` + (window.location.port ? `:${window.location.port}` : '') + `/bpm`;
|
||||
|
||||
constructor(private authService: AlfrescoAuthenticationService,
|
||||
private router: Router,
|
||||
|
||||
Reference in New Issue
Block a user