1
0
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:
Sascha Pfeiffer 2024-01-05 10:00:19 +01:00
parent 3f2e51ee52
commit 0c09f06c5a

View File

@ -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;"