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, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "http://localhost:26551", "applicationUrl": "http://localhost:26551",
"sslPort": 44339
"sslPort": 0
} }
}, },
"profiles": { "profiles": {
@ -29,7 +29,7 @@
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
"publishAllPorts": true, "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": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Information", "Default": "Information",
@ -11,7 +11,6 @@
"Routes": { "Routes": {
"minimumroute": { "minimumroute": {
"ClusterId": "minimumcluster", "ClusterId": "minimumcluster",
"CorsPolicy": "customPolicy",
"Match": { "Match": {
"Path": "{**catch-all}" "Path": "{**catch-all}"
} }
@ -21,7 +20,7 @@
"CorsPolicy": "customPolicy", "CorsPolicy": "customPolicy",
"Match": { "Match": {
"Methods": [ "GET", "POST" ], "Methods": [ "GET", "POST" ],
"Hosts": "0.0.0.0",
"Hosts": "host.docker.internal",
"Path": "/c/{**catch-all}" "Path": "/c/{**catch-all}"
}, },
"Transforms": [ "Transforms": [
@ -50,8 +49,13 @@
"Match": { "Match": {
"Methods": [ "GET", "POST" ], "Methods": [ "GET", "POST" ],
"Hosts": "host.docker.internal", "Hosts": "host.docker.internal",
"Path": "/hub/notificationhub/{**catch-all}"
}
"Path": "/hub/{**catch-all}"
},
"Transforms": [
{
"PathRemovePrefix": "/hub"
}
]
}, },
"basket": { "basket": {
"ClusterId": "basket", "ClusterId": "basket",


Loading…
Cancel
Save