Enable dynamic anonymous redirect by default in setup wizard

This commit is contained in:
JonnyWong16 2022-02-24 19:11:30 -08:00
parent 74cd494162
commit bd9fe54fd7
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 8 additions and 1 deletions

View file

@ -704,3 +704,9 @@ class Config(object):
self.FIRST_RUN_COMPLETE = 1
self.CONFIG_VERSION = 21
if self.CONFIG_VERSION == 21:
if not self.ANON_REDIRECT_DYNAMIC and not self.ANON_REDIRECT:
self.ANON_REDIRECT_DYNAMIC = 1
self.CONFIG_VERSION = 22