enhance: enable pwa install
This commit is contained in:
parent
260478af69
commit
3f3aa040d9
14 changed files with 48 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue