Hardcode build number in backend
This commit is contained in:
@@ -14,6 +14,7 @@ _BOOL_FIELDS = {
|
||||
"jellyfin_sync_to_arr",
|
||||
"site_banner_enabled",
|
||||
}
|
||||
_SKIP_OVERRIDE_FIELDS = {"site_build_number"}
|
||||
|
||||
|
||||
def get_runtime_settings():
|
||||
@@ -22,6 +23,8 @@ def get_runtime_settings():
|
||||
for key, value in overrides.items():
|
||||
if value is None:
|
||||
continue
|
||||
if key in _SKIP_OVERRIDE_FIELDS:
|
||||
continue
|
||||
if key in _INT_FIELDS:
|
||||
try:
|
||||
update[key] = int(value)
|
||||
|
||||
Reference in New Issue
Block a user