Permit passing of TTRSS_SELF_URL to override auto-generation
This commit is contained in:
parent
c4d0bffcd8
commit
749862d676
@ -104,9 +104,12 @@ setup_ttrss()
|
||||
fi
|
||||
fi
|
||||
|
||||
# Construct the final URL TTRSS will use.
|
||||
TTRSS_SELF_URL=${TTRSS_PROTO}://${TTRSS_URL}${TTRSS_PORT}/
|
||||
|
||||
# If we've been passed $TTRSS_SELF_URL as an env variable, then use that,
|
||||
# But if not, use the URL we constructed above
|
||||
if [ -z "$TTRSS_SELF_URL ]; then
|
||||
# Construct the final URL TTRSS will use.
|
||||
TTRSS_SELF_URL=${TTRSS_PROTO}://${TTRSS_URL}${TTRSS_PORT}/
|
||||
fi
|
||||
echo "Setup: URL is: $TTRSS_SELF_URL"
|
||||
|
||||
# Patch URL path.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user