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.

Minor update appsettings.json

support1c5e7ee6ea6c
diff --git a/src/Web/Grand.Web/App_Data/appsettings.json b/src/Web/Grand.Web/App_Data/appsettings.json
index 4d1c8fa2a..33c651de6 100644
--- a/src/Web/Grand.Web/App_Data/appsettings.json
+++ b/src/Web/Grand.Web/App_Data/appsettings.json
@@ -220,7 +220,7 @@
"FrontendAPI": {
"Enabled": false,
"JsonContentType": false, //when is enabled, use ContentType = application/json to read json from body, default is form-data
- "SecretKey": "your private secret key", //at least 16 characters
+ "SecretKey": "your private secret key to use api",
"ValidateIssuer": false,
"ValidIssuer": "",
"ValidateAudience": false,
@@ -232,8 +232,8 @@
},
//api for admin
"BackendAPI": {
- "Enabled": false,
- "SecretKey": "your private secret key", //at least 16 characters
+ "Enabled": true,
+ "SecretKey": "your private secret key to use api",
"ValidateIssuer": false,
"ValidIssuer": "",
"ValidateAudience": false,
@@ -244,7 +244,7 @@
//generate system model
"SystemModel": true
},
- "UseSwagger": false,
+ "UseSwagger": true,
"Logging": {
"LogLevel": {