From bd9fe54fd7b0dec86499b31975bb7c15eb70d42d Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 24 Feb 2022 19:11:30 -0800 Subject: [PATCH] Enable dynamic anonymous redirect by default in setup wizard --- data/interfaces/default/welcome.html | 3 ++- plexpy/config.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/data/interfaces/default/welcome.html b/data/interfaces/default/welcome.html index ed44eac3..adb77e45 100644 --- a/data/interfaces/default/welcome.html +++ b/data/interfaces/default/welcome.html @@ -239,7 +239,8 @@ - + + diff --git a/plexpy/config.py b/plexpy/config.py index 8f08a5b0..6f36f55e 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -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