From d554839c435fc7a13871b9cce8f90b104fc8f0b8 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 14 Jun 2020 15:32:30 +0200 Subject: [PATCH] Add FORCE_HTTPS Setting FORCE_HTTPS in env forces all generated links to use https protocol. --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 0172f0f..1190a32 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,11 @@ #!/usr/bin/env bash set -xeo pipefail +if [ ! -z $FORCE_HTTPS ] +then + sed -i 's#