running version without refresh page error

This commit is contained in:
Miguel Veloso 2021-06-17 14:44:50 +01:00
parent 7d26ef882d
commit 07e0bfe0f2
3 changed files with 1 additions and 4 deletions

View File

@ -82,7 +82,6 @@ namespace eShopConContainers.WebSPA
app.UseDeveloperExceptionPage(); app.UseDeveloperExceptionPage();
} }
// Here we add Angular default Antiforgery cookie name on first load. https://angular.io/guide/http#security-xsrf-protection // Here we add Angular default Antiforgery cookie name on first load. https://angular.io/guide/http#security-xsrf-protection
// This cookie will be read by Angular app and its value will be sent back to the application as the header configured in .AddAntiforgery() // This cookie will be read by Angular app and its value will be sent back to the application as the header configured in .AddAntiforgery()
app.Use(next => context => app.Use(next => context =>

View File

@ -1,11 +1,9 @@
{ {
"IdentityUrl": "http://host.docker.internal:5105", "IdentityUrl": "http://host.docker.internal:5105",
"MarketingUrl": "",
"CallBackUrl": "http://host.docker.internal:5104/", "CallBackUrl": "http://host.docker.internal:5104/",
"BasketUrl" : "http://host.docker.internal:5103", "BasketUrl" : "http://host.docker.internal:5103",
"PurchaseUrl": "http://host.docker.internal:5202", "PurchaseUrl": "http://host.docker.internal:5202",
"PurchaseUrlHC": "http://host.docker.internal:5202/hc", "PurchaseUrlHC": "http://host.docker.internal:5202/hc",
"MarketingUrlHC": "",
"IdentityUrlHC": "http://host.docker.internal:5105/hc", "IdentityUrlHC": "http://host.docker.internal:5105/hc",
"SignalrHubUrl": "http://host.docker.internal:5112", "SignalrHubUrl": "http://host.docker.internal:5112",
"UseCustomizationData": true, "UseCustomizationData": true,

View File

@ -272,7 +272,7 @@ services:
webspa: webspa:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://0.0.0.0:80 - ASPNETCORE_URLS=http://0.0.0.0:80
- IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
- PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202