🔧 Add missing public uri handling on nginx entrypoint

This commit is contained in:
Andrey Antukh 2026-04-22 12:32:47 +02:00
parent 09637f9794
commit 75d99a0725

View File

@ -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