From e67ffa2751ea019e21171c5169ee0ea0f9db7050 Mon Sep 17 00:00:00 2001 From: x86dev Date: Wed, 8 Nov 2017 22:29:40 +0100 Subject: [PATCH] setup-ttrss.sh: Don't specify a default port (8888) if none set via environment variable; just go for the default port (80) to make TTRSS_SELF_URL happy. --- root/srv/setup-ttrss.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/root/srv/setup-ttrss.sh b/root/srv/setup-ttrss.sh index 6db937b..401b455 100755 --- a/root/srv/setup-ttrss.sh +++ b/root/srv/setup-ttrss.sh @@ -76,13 +76,7 @@ setup_ttrss() TTRSS_URL=localhost fi - # Check if TTRSS_PORT is undefined, and if so, use 8888 as default. - if [ -z ${TTRSS_PORT} ]; then - TTRSS_PORT=8888 - fi - if [ "$TTRSS_WITH_SELFSIGNED_CERT" = "1" ]; then - # Make sure the TTRSS protocol is https now. TTRSS_PROTO=https fi