From 06733ea7cd27794539ec69c1db20cbe4ae9180a0 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 29 Jul 2021 12:35:41 +0200 Subject: [PATCH] :bug: Fix exporter bug on docker images. --- docker/images/files/nginx-entrypoint.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docker/images/files/nginx-entrypoint.sh b/docker/images/files/nginx-entrypoint.sh index cf292de0a9..8e2c645f8b 100644 --- a/docker/images/files/nginx-entrypoint.sh +++ b/docker/images/files/nginx-entrypoint.sh @@ -9,17 +9,6 @@ log() { ## App Frontend config ######################################### - -update_public_uri() { - if [ -n "$PENPOT_PUBLIC_URI" ]; then - log "Updating Public URI: $PENPOT_PUBLIC_URI" - sed -i \ - -e "s|^//var penpotPublicURI = \".*\";|var penpotPublicURI = \"$PENPOT_PUBLIC_URI\";|g" \ - "$1" - fi -} - - update_demo_warning() { if [ -n "$PENPOT_DEMO_WARNING" ]; then log "Updating Demo Warning: $PENPOT_DEMO_WARNING" @@ -113,7 +102,6 @@ update_flags() { fi } -update_public_uri /var/www/app/js/config.js update_demo_warning /var/www/app/js/config.js update_allow_demo_users /var/www/app/js/config.js update_google_client_id /var/www/app/js/config.js