Skip to content

Commit 7976938

Browse files
committed
Update script to start
1 parent 1c31cd3 commit 7976938

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

images/web/start.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ EOF
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
@@ -88,8 +87,6 @@ EOF
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

9592
restore_db() {

0 commit comments

Comments
 (0)