Skip to content

Commit 9fc9a38

Browse files
committed
Removes service worker timestamp
1 parent 61277a1 commit 9fc9a38

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

start.sh

-7
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,4 @@ set -e
55
node /internals/scripts/validate-config.js
66
node /internals/scripts/inject-config.js
77

8-
# When the service worker is enabled inject the timestamp as version to make sure the worker is reloaded on a configuration change.
9-
if [ -f /usr/share/nginx/html/sw.js ]; then
10-
export SIGNALS_SERVICE_WORKER_VERSION=$(date +"%Y-%m-%d %T")
11-
envsubst < /usr/share/nginx/html/sw.js > /tmp/sw.js
12-
mv /tmp/sw.js /usr/share/nginx/html/sw.js
13-
fi
14-
158
nginx -g "daemon off;"

0 commit comments

Comments
 (0)