Fixing errors in SPA when calling basket api through apigw

This commit is contained in:
Eduard Tomàs 2018-02-07 13:15:17 +00:00
parent 8edd736196
commit 0be655d2e0
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:57423/",
"applicationUrl": "http://localhost:53998/",
"sslPort": 0
}
},

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:55105",
"applicationUrl": "http://localhost:54010/",
"sslPort": 0
}
},

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:53933/",
"applicationUrl": "http://localhost:54020/",
"sslPort": 0
}
},

View File

@ -82,7 +82,7 @@ export class BasketService {
}
getBasket(): Observable<IBasket> {
let url = this.basketUrl + '/api/v1/b/basket/' + this.basket.buyerId;
let url = this.basketUrl + '/purchase-bff/api/v1/b/basket/' + this.basket.buyerId;
return this.service.get(url).map((response: Response) => {
if (response.status === 204) {
return null;