diff --git a/src/Web/WebSPA/Startup.cs b/src/Web/WebSPA/Startup.cs index d9e9d093b..53406422f 100644 --- a/src/Web/WebSPA/Startup.cs +++ b/src/Web/WebSPA/Startup.cs @@ -27,12 +27,6 @@ namespace eShopConContainers.WebSPA .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true) .AddEnvironmentVariables(); - if (env.IsDevelopment()) - { - // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709 - builder.AddUserSecrets(); - } - Configuration = builder.Build(); var localPath = new Uri(Configuration["ASPNETCORE_URLS"])?.LocalPath ?? "/"; diff --git a/src/Web/WebSPA/WebSPA.csproj b/src/Web/WebSPA/WebSPA.csproj index 9b64a5fe7..c598d700e 100644 --- a/src/Web/WebSPA/WebSPA.csproj +++ b/src/Web/WebSPA/WebSPA.csproj @@ -25,29 +25,29 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + All - - + +