From aaf35252c08d21a8f63af7adbbcc56b1ad272ec8 Mon Sep 17 00:00:00 2001 From: Sheaza Date: Mon, 28 Oct 2024 22:14:01 +0100 Subject: [PATCH] fix 5 --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index ff37aea..04861bb 100644 --- a/run.sh +++ b/run.sh @@ -4,6 +4,7 @@ USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"` PASSWD=`echo $DATABASE_URL | grep -o ":[[:alnum:]]*@" | grep -o "[[:alnum:]]*"` printf "[server]\nHTTP_PORT = $PORT;\n" > /var/lib/gitea/custom/conf/app.ini printf "DOMAIN = $HEROKU_APP_DEFAULT_DOMAIN_NAME\n" >> /var/lib/gitea/custom/conf/app.ini +printf "PROTOCOL = https ;\n" >> /var/lib/gitea/custom/conf/app.ini printf "\n[database]\nDB_TYPE = postgres;\n" >> /var/lib/gitea/custom/conf/app.ini printf "NAME = $NAME;\n" >> /var/lib/gitea/custom/conf/app.ini printf "HOST = $HOST;\n" >> /var/lib/gitea/custom/conf/app.ini