File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 3939 echo " " > $workdir /config/settings.local.yml
4040
4141 # ### Setting up server_url and server_protocol
42- # Remove trailing slash from SERVER_URL to prevent double slashes in generated URLs
4342 SERVER_URL_CLEAN=$( echo " $SERVER_URL " | sed ' s|/$||' )
4443 sed -i -e ' s/^server_protocol: ".*"/server_protocol: "' $SERVER_PROTOCOL ' "/g' $workdir /config/settings.yml
4544 sed -i -e ' s/^server_url: ".*"/server_url: "' $SERVER_URL_CLEAN ' "/g' $workdir /config/settings.yml
8887 export DOORKEEPER_SIGNING_KEY=$( cat /var/www/private.pem | sed -e ' 1d;$d' | tr -d ' \n' )
8988 sed -i " s#PRIVATE_KEY#${DOORKEEPER_SIGNING_KEY} #" $workdir /config/settings.yml
9089
91- # sed -i '252s/\(\[\)/&.compact/' "$workdir/app/controllers/application_controller.rb"
92-
9390}
9491
9592restore_db () {
You can’t perform that action at this time.
0 commit comments