mirror of
https://gitlab.com/psono/psono-client
synced 2025-04-19 03:22:16 +03:00
Added option to disable service worker
Signed-off-by: Sascha Pfeiffer <sascha.pfeiffer@esaqa.com>
This commit is contained in:
parent
3f2e51ee52
commit
0c09f06c5a
@ -3,4 +3,9 @@ then
|
||||
echo "$PSONO_WEBCLIENT_CONFIG_JSON" > /usr/share/nginx/html/config.json
|
||||
fi
|
||||
|
||||
if [ ! -z "$PSONO_SERVICE_WORKER_DISABLE" ]
|
||||
then
|
||||
echo "" > /usr/share/nginx/html/js/service-worker-load.js
|
||||
fi
|
||||
|
||||
nginx -g "daemon off;"
|
Loading…
x
Reference in New Issue
Block a user