enhance: enable pwa install

This commit is contained in:
Julian Krauser 2025-01-11 14:45:48 +01:00
parent 260478af69
commit 3f3aa040d9
14 changed files with 48 additions and 10 deletions

View file

@ -1,9 +1,10 @@
#!/bin/sh
keys="SERVERADDRESS APPNAMEOVERWRITE IMPRINTLINK PRIVACYLINK CUSTOMLOGINMESSAGE"
files="/usr/share/nginx/html/assets/config-*.js /usr/share/nginx/html/manifest.webmanifest"
# Replace env vars in files served by NGINX
for file in /usr/share/nginx/html/assets/config-*.js
for file in $files
do
echo "Processing $file ...";
for key in $keys