Browse Source

running version without refresh page error

pull/1705/head
Miguel Veloso 3 years ago
parent
commit
07e0bfe0f2
3 changed files with 1 additions and 4 deletions
  1. +0
    -1
      src/Web/WebSPA/Startup.cs
  2. +0
    -2
      src/Web/WebSPA/appsettings.json
  3. +1
    -1
      src/docker-compose.override.yml

+ 0
- 1
src/Web/WebSPA/Startup.cs View File

@ -82,7 +82,6 @@ namespace eShopConContainers.WebSPA
app.UseDeveloperExceptionPage();
}
// 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()
app.Use(next => context =>


+ 0
- 2
src/Web/WebSPA/appsettings.json View File

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


+ 1
- 1
src/docker-compose.override.yml View File

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


Loading…
Cancel
Save