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.

Update default value for settings EnableRuntimeCompilation

support81cd07e2fbb7
diff --git a/src/Web/Grand.Web/App_Data/appsettings.json b/src/Web/Grand.Web/App_Data/appsettings.json
index 1e8b78adb..c386abd68 100644
--- a/src/Web/Grand.Web/App_Data/appsettings.json
+++ b/src/Web/Grand.Web/App_Data/appsettings.json
@@ -68,7 +68,7 @@
"UseHsts": false,
//When enabled, allow Razor files to be updated if they're edited.
- "EnableRuntimeCompilation": false,
+ "EnableRuntimeCompilation": true,
//We recommend all ASP.NET Core web apps call HTTPS Redirection Middleware to redirect all HTTP requests to HTTPS
"UseHttpsRedirection": false,