From 07e0bfe0f2313057672530935be00c5d910ccccd Mon Sep 17 00:00:00 2001 From: Miguel Veloso Date: Thu, 17 Jun 2021 14:44:50 +0100 Subject: [PATCH] running version without refresh page error --- src/Web/WebSPA/Startup.cs | 1 - src/Web/WebSPA/appsettings.json | 2 -- src/docker-compose.override.yml | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Web/WebSPA/Startup.cs b/src/Web/WebSPA/Startup.cs index 4084b9bdc..3f44de558 100644 --- a/src/Web/WebSPA/Startup.cs +++ b/src/Web/WebSPA/Startup.cs @@ -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 => diff --git a/src/Web/WebSPA/appsettings.json b/src/Web/WebSPA/appsettings.json index bfc4003d8..c40149026 100644 --- a/src/Web/WebSPA/appsettings.json +++ b/src/Web/WebSPA/appsettings.json @@ -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, diff --git a/src/docker-compose.override.yml b/src/docker-compose.override.yml index 8a0d6133b..8251636e9 100644 --- a/src/docker-compose.override.yml +++ b/src/docker-compose.override.yml @@ -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