Skip to content

Commit 0be655d

Browse files
committed
Fixing errors in SPA when calling basket api through apigw
1 parent 8edd736 commit 0be655d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Services/Basket/Basket.API/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
55
"iisExpress": {
6-
"applicationUrl": "http://localhost:57423/",
6+
"applicationUrl": "http://localhost:53998/",
77
"sslPort": 0
88
}
99
},

src/Services/Identity/Identity.API/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
55
"iisExpress": {
6-
"applicationUrl": "http://localhost:55105",
6+
"applicationUrl": "http://localhost:54010/",
77
"sslPort": 0
88
}
99
},

src/Services/Location/Locations.API/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
55
"iisExpress": {
6-
"applicationUrl": "http://localhost:53933/",
6+
"applicationUrl": "http://localhost:54020/",
77
"sslPort": 0
88
}
99
},

src/Web/WebSPA/Client/modules/basket/basket.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class BasketService {
8282
}
8383

8484
getBasket(): Observable<IBasket> {
85-
let url = this.basketUrl + '/api/v1/b/basket/' + this.basket.buyerId;
85+
let url = this.basketUrl + '/purchase-bff/api/v1/b/basket/' + this.basket.buyerId;
8686
return this.service.get(url).map((response: Response) => {
8787
if (response.status === 204) {
8888
return null;

0 commit comments

Comments
 (0)