Browse Source

update appsettings and launchsettings

pull/1888/head
Tarun Jain 2 years ago
parent
commit
062de66513
2 changed files with 11 additions and 7 deletions
  1. +2
    -2
      src/ApiGateways/Yarp/WebShoppingAPIGateway/Properties/launchSettings.json
  2. +9
    -5
      src/ApiGateways/Yarp/WebShoppingAPIGateway/appsettings.json

+ 2
- 2
src/ApiGateways/Yarp/WebShoppingAPIGateway/Properties/launchSettings.json View File

@ -4,7 +4,7 @@
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:26551",
"sslPort": 44339
"sslPort": 0
}
},
"profiles": {
@ -29,7 +29,7 @@
"launchBrowser": true,
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
"publishAllPorts": true,
"useSSL": true
"useSSL": false
}
}
}

+ 9
- 5
src/ApiGateways/Yarp/WebShoppingAPIGateway/appsettings.json View File

@ -1,5 +1,5 @@
{
"Urls": "http://host.docker.internal:5202",
"Urls": "http://{ServiceHost}:{ServicePort}",
"Logging": {
"LogLevel": {
"Default": "Information",
@ -11,7 +11,6 @@
"Routes": {
"minimumroute": {
"ClusterId": "minimumcluster",
"CorsPolicy": "customPolicy",
"Match": {
"Path": "{**catch-all}"
}
@ -21,7 +20,7 @@
"CorsPolicy": "customPolicy",
"Match": {
"Methods": [ "GET", "POST" ],
"Hosts": "0.0.0.0",
"Hosts": "host.docker.internal",
"Path": "/c/{**catch-all}"
},
"Transforms": [
@ -50,8 +49,13 @@
"Match": {
"Methods": [ "GET", "POST" ],
"Hosts": "host.docker.internal",
"Path": "/hub/notificationhub/{**catch-all}"
}
"Path": "/hub/{**catch-all}"
},
"Transforms": [
{
"PathRemovePrefix": "/hub"
}
]
},
"basket": {
"ClusterId": "basket",


Loading…
Cancel
Save