Verified Commit e1ab5b71 authored by Joseph Nuthalapati's avatar Joseph Nuthalapati Committed by James Valleroy

tt-rss: Skip the check for SELF_URL_PATH

TT-RSS on FreedomBox was working earlier with multiple domain names including
tor onion urls. A recent update added a check to allow TT-RSS only from one
pre-configured domain name. This commit disables this check so that TT-RSS can
work like before.
Signed-off-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <>
Reviewed-by: James Valleroy's avatarJames Valleroy <>
parent d02975f3
......@@ -58,11 +58,21 @@ def subcommand_setup(_):
aug.set('/files' + DEFAULT_FILE + '/DISABLED', '0')
skip_self_url_path_exists = False
for match in aug.match('/files' + CONFIG_FILE + '/define'):
if aug.get(match) == 'SELF_URL_PATH':
aug.set(match + '/value', "'http://localhost/tt-rss/'")
elif aug.get(match) == 'PLUGINS':
aug.set(match + '/value', "'auth_remote, note'")
elif aug.get(match) == '_SKIP_SELF_URL_PATH_CHECKS':
skip_self_url_path_exists = True
aug.set(match + '/value', 'true')
if not skip_self_url_path_exists:
aug.set('/files' + CONFIG_FILE + '/define[last() + 1]',
aug.set('/files' + CONFIG_FILE + '/define[last()]/value', 'true')
......@@ -28,7 +28,7 @@ from plinth.utils import format_lazy
from .manifest import clients
version = 2
version = 3
managed_services = ['tt-rss']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment