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.

This commit is contained in:
x86dev 2017-11-08 22:29:40 +01:00
parent 5cf30a19dd
commit e67ffa2751

View File

@ -76,13 +76,7 @@ setup_ttrss()
TTRSS_URL=localhost TTRSS_URL=localhost
fi 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 if [ "$TTRSS_WITH_SELFSIGNED_CERT" = "1" ]; then
# Make sure the TTRSS protocol is https now. # Make sure the TTRSS protocol is https now.
TTRSS_PROTO=https TTRSS_PROTO=https
fi fi