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.

Admin appsettings - add missing properties

supportbf8627599aeb
diff --git a/src/Web/Grand.Web.Admin/App_Data/appsettings.json b/src/Web/Grand.Web.Admin/App_Data/appsettings.json
index d5754c15e..b8139f77c 100644
--- a/src/Web/Grand.Web.Admin/App_Data/appsettings.json
+++ b/src/Web/Grand.Web.Admin/App_Data/appsettings.json
@@ -35,7 +35,10 @@
//LiteDB database as a singleton service in the application
"Singleton": true,
//Init connection string - it's required only for the installation process!
- "LiteDbConnectionString": "Filename=App_Data/database.db"
+ "LiteDbConnectionString": "Filename=App_Data/database.db",
+ //only for advanced users, allow to set ConnectionString for MongoDb
+ "DbConnectionString": "",
+ "DbProvider": 0
},
"Security": {
@@ -101,17 +104,26 @@
"ClearPluginShadowDirectoryOnStartup": true,
//For develop you should enable if you want to copy plugin dll files to directory /Plugins/bin on application startup
- "PluginShadowCopy": true
+ "PluginShadowCopy": true,
+ "InstalledPlugins": ""
+
+ },
+ "Cache": {
+ //Gets or sets a value indicating for default cache time in minutes"
+ "DefaultCacheTimeMinutes": 60
},
+ "AccessControl": {
+ /// A value indicating whether to ignore ACL rules
+ "IgnoreAcl": false,
+ //A value indicating whether to ignore "limit per store" rules
+ "IgnoreStoreLimitations": false
+ },
"Performance": {
//Indicates whether to compress response (gzip by default)
//You may want to disable it, for example, If you have an active IIS Dynamic Compression Module configured at the server level
- "UseResponseCompression": false,
-
- //Gets or sets a value indicating for default cache time in minutes"
- "DefaultCacheTimeMinutes": 60
+ "UseResponseCompression": false
},
"Redis": {