Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Set default settings for appsettings.json

KrzysztofPajakde4b94b8a784
diff --git a/src/Web/Grand.Web/App_Data/appsettings.json b/src/Web/Grand.Web/App_Data/appsettings.json
index 83a5db662..931984983 100644
--- a/src/Web/Grand.Web/App_Data/appsettings.json
+++ b/src/Web/Grand.Web/App_Data/appsettings.json
@@ -91,7 +91,7 @@
//For developers - more info you can find at https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/
//https://github.com/dotnet/roslyn/wiki/Roslyn-Overview
- "UseRoslynScripts": true,
+ "UseRoslynScripts": false,
//Gets or sets a value indicating for default cache time in minutes"
"DefaultCacheTimeMinutes": 60,
@@ -111,7 +111,7 @@
"CookieSecurePolicyAlways": false,
//Gets or sets a value indicating whether mini profiler should be displayed in public store (used for debugging)
- "DisplayMiniProfilerInPublicStore": true,
+ "DisplayMiniProfilerInPublicStore": false,
"AllowNonAsciiCharInHeaders": true,
@@ -157,7 +157,7 @@
},
//access to the api to web controllers
"GrandWebApi": {
- "Enabled": true,
+ "Enabled": false,
"SecretKey": "your private secret key", //at least 16 characters
"ValidateIssuer": false,
"ValidIssuer": "",
@@ -170,8 +170,8 @@
},
//api for admin
"Api": {
- "Enabled": true,
- "UseSwagger": true,
+ "Enabled": false,
+ "UseSwagger": false,
"SecretKey": "your private secret key", //at least 16 characters
"ValidateIssuer": false,
"ValidIssuer": "",