Update 32-nginx_ingress.sh

This commit is contained in:
Alexandre
2022-05-25 20:57:05 +02:00
committed by GitHub
parent e11cf93472
commit 35698ea661

View File

@@ -17,5 +17,3 @@ sed -i "s|%%ingress_entry%%|${ingress_entry}|g" /etc/nginx/servers/ingress.conf
# Avoid error message
grep -rnl "PhotoPrism has been updated…" /opt/photoprism | xargs sed -i "s|PhotoPrism has been updated…|Please click cancel|g"
grep -rnl 'Event.publish("dialog.reload", {values});' /opt/photoprism | xargs sed -i 's|Event.publish("dialog.reload", {values});||g'
Event.publish("dialog.reload", {values});