mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🔧 Add missing public uri handling on nginx entrypoint
This commit is contained in:
parent
09637f9794
commit
75d99a0725
@ -19,6 +19,10 @@ update_flags() {
|
|||||||
-e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \
|
-e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \
|
||||||
"$1")" > "$1"
|
"$1")" > "$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$PENPOT_PUBLIC_URI" ]; then
|
||||||
|
echo "var penpotPublicURI = \"$PENPOT_PUBLIC_URI\";" >> "$1";
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
update_flags /var/www/app/js/config.js
|
update_flags /var/www/app/js/config.js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user