From 6d3602f9c65b8aa4b7044ea3071c7ad369039063 Mon Sep 17 00:00:00 2001 From: Andy H3 Date: Tue, 13 Dec 2022 15:41:53 +0000 Subject: [PATCH] Update nitter.php Changed protocol of example URL to secure to avoid confusion as all Nitter servers operate in secure mode only. --- nitter/nitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nitter/nitter.php b/nitter/nitter.php index 013d8fd2..f2463b96 100644 --- a/nitter/nitter.php +++ b/nitter/nitter.php @@ -49,7 +49,7 @@ function nitter_addon_admin(App $a, string &$o) $t = Renderer::getMarkupTemplate('admin.tpl', 'addon/nitter/'); $o = Renderer::replaceMacros($t, [ '$settingdescription' => DI::l10n()->t('Which nitter server shall be used for the replacements in the post bodies? Use the URL with servername and protocol. See %s for a list of available public Nitter servers.', 'https://github.com/zedeus/nitter/wiki/Instances'), - '$nitterserver' => ['nitterserver', DI::l10n()->t('Nitter server'), $nitterserver, 'http://example.com'], + '$nitterserver' => ['nitterserver', DI::l10n()->t('Nitter server'), $nitterserver, 'https://example.com'], '$submit' => DI::l10n()->t('Save Settings'), ]); } -- 2.39.5