Browse Source

Fixing errors in SPA when calling basket api through apigw

pull/565/head^2
Eduard Tomàs 7 years ago
parent
commit
0be655d2e0
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/Services/Basket/Basket.API/Properties/launchSettings.json
  2. +1
    -1
      src/Services/Identity/Identity.API/Properties/launchSettings.json
  3. +1
    -1
      src/Services/Location/Locations.API/Properties/launchSettings.json
  4. +1
    -1
      src/Web/WebSPA/Client/modules/basket/basket.service.ts

+ 1
- 1
src/Services/Basket/Basket.API/Properties/launchSettings.json View File

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


+ 1
- 1
src/Services/Identity/Identity.API/Properties/launchSettings.json View File

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


+ 1
- 1
src/Services/Location/Locations.API/Properties/launchSettings.json View File

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


+ 1
- 1
src/Web/WebSPA/Client/modules/basket/basket.service.ts 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;


Loading…
Cancel
Save