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:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user