mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
remove defaut ip from upload
This commit is contained in:
@@ -32,7 +32,7 @@ declare let AlfrescoApi: any;
|
|||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class UploadService {
|
export class UploadService {
|
||||||
private _host: string = 'http://192.168.99.100:8080';
|
private _host: string = '';
|
||||||
private _baseUrlPath: string = '/alfresco/api/-default-/public/alfresco/versions/1';
|
private _baseUrlPath: string = '/alfresco/api/-default-/public/alfresco/versions/1';
|
||||||
private _url: string = '/alfresco/service/api/upload';
|
private _url: string = '/alfresco/service/api/upload';
|
||||||
|
|
||||||
@@ -47,9 +47,7 @@ export class UploadService {
|
|||||||
constructor(private settings: AlfrescoSettingsService) {
|
constructor(private settings: AlfrescoSettingsService) {
|
||||||
console.log('UploadService constructor');
|
console.log('UploadService constructor');
|
||||||
|
|
||||||
if (settings) {
|
this._host = settings.host;
|
||||||
this._host = settings.host;
|
|
||||||
}
|
|
||||||
this._alfrescoClient = this.getAlfrescoClient();
|
this._alfrescoClient = this.getAlfrescoClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user