From 75d99a07256e62432d39bab2a51dea2d973fd2cc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 22 Apr 2026 12:32:47 +0200 Subject: [PATCH] :wrench: Add missing public uri handling on nginx entrypoint --- docker/images/files/nginx-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/images/files/nginx-entrypoint.sh b/docker/images/files/nginx-entrypoint.sh index 772879099f..9ce2b9261d 100644 --- a/docker/images/files/nginx-entrypoint.sh +++ b/docker/images/files/nginx-entrypoint.sh @@ -19,6 +19,10 @@ update_flags() { -e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \ "$1")" > "$1" fi + + if [ -n "$PENPOT_PUBLIC_URI" ]; then + echo "var penpotPublicURI = \"$PENPOT_PUBLIC_URI\";" >> "$1"; + fi } update_flags /var/www/app/js/config.js