replace hardcoded ip with dynamic local ip

This commit is contained in:
Mario Romano
2016-08-18 12:34:13 +01:00
parent 807c229f5c
commit e1603d8a24
2 changed files with 4 additions and 4 deletions

View File

@@ -41,8 +41,8 @@ export class AppComponent {
translate: AlfrescoTranslationService;
searchTerm: string = '';
ecmHost: string = 'http://127.0.0.1:8080';
bpmHost: string = 'http://127.0.0.1:9999';
ecmHost: string = 'http://' + window.location.hostname + ':8080';
bpmHost: string = 'http://' + window.location.hostname + ':9999';
constructor(public auth: AlfrescoAuthenticationService,
public router: Router,