AppSettings: Improves the templates so they reflect the latest recommended settings (#20148)

hides obsolete appsettings from the template and renames `TimeOutInMinutes` to `TimeOut` and updates its format
This commit is contained in:
Jacob Overgaard
2025-09-16 11:30:43 +02:00
committed by GitHub
parent 9aa9d4499f
commit 4ae3bb3835
2 changed files with 4 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
{
"$schema" : "./appsettings-schema.json",
"$schema": "./appsettings-schema.json",
"Serilog": {
"MinimumLevel": {
"Default": "Information",
@@ -37,10 +37,6 @@
},
"Hosting": {
"Debug": true
},
"RuntimeMinification": {
"useInMemoryCache": true,
"cacheBuster": "Timestamp"
}
}
}

View File

@@ -18,13 +18,12 @@
"Content": {
"Notifications": {
"Email": "your@email.here"
},
"MacroErrors": "Throw"
}
},
"Global": {
"DefaultUILanguage": "en-us",
"HideTopLevelNodeFromPath": true,
"TimeOutInMinutes": 20,
"TimeOut": "00:20:00",
"UseHttps": false
},
"Hosting": {
@@ -33,14 +32,10 @@
"RequestHandler": {
"ConvertUrlsToAscii": "try"
},
"RuntimeMinification": {
"dataFolder": "umbraco/Data/TEMP/Smidge",
"version": "637642136775050602"
},
"Security": {
"KeepUserLoggedIn": false,
"UsernameIsEmail": true,
"HideDisabledUsersInBackoffice": false,
"HideDisabledUsersInBackOffice": false,
"AllowedUserNameCharacters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-'._@+\\",
"UserPassword": {
"RequiredLength": 10,
@@ -59,9 +54,6 @@
"MaxFailedAccessAttemptsBeforeLockout": 5
}
},
"Tours": {
"EnableTours": true
},
"ModelsBuilder": {
"ModelsMode": "InMemoryAuto"
}