1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Improved: settings for update notification (#176)

This commit is contained in:
nobody
2020-11-14 12:31:17 +01:00
parent f32c55bbd2
commit d980beb889
6 changed files with 42 additions and 34 deletions

View File

@@ -66,7 +66,7 @@ const Setting = {
'DISABLE_PREFETCH': 'disablePrefetch',
'ENFORCE_STAGING': 'enforceStaging',
'SHOW_ICON_BADGE': 'showIconBadge',
'HIDE_RELEASE_NOTES': 'hideReleaseNotes',
'UPDATE_NOTIFICATION': 'updateNotification',
'STRIP_METADATA': 'stripMetadata',
'LAST_MAPPING_UPDATE': 'lastMappingUpdate',
'ALLOWLISTED_DOMAINS': 'allowlistedDomains',
@@ -94,7 +94,7 @@ const SettingDefaults = {
[Setting.DOMAINS_MANIPULATE_DOM]: {},
[Setting.LOGGING]: false,
[Setting.ENFORCE_STAGING]: false,
[Setting.HIDE_RELEASE_NOTES]: false,
[Setting.UPDATE_NOTIFICATION]: 0,
[Setting.INTERNAL_STATISTICS]: false,
[Setting.INTERNAL_STATISTICS_DATA]: {},
[Setting.LAST_MAPPING_UPDATE]: '2020-01-01',