From b4f6ef7b702691e48c575dc43c66155155cfbf4e Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 5 Feb 2019 16:34:14 +0000 Subject: Disable service workers by default The Service Workers seem to be consistently causing issues for people that are strange, meaning many of our deployers are disabling them. Since they aren't super necessary for the Zuul use case, change the default behavior to be to disable them instead of enable them. Change-Id: Iea8348a3b007badaae74fc1837b55bb0b076ac65 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 33e7e3d29..1ed44d175 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,8 @@ FROM opendevorg/python-builder as builder # Optional location of Zuul API endpoint. ARG REACT_APP_ZUUL_API -# Optional flag to disable React Service Worker. (set to true to disable) -ARG REACT_APP_DISABLE_SERVICE_WORKER +# Optional flag to enable React Service Worker. (set to true to enable) +ARG REACT_APP_ENABLE_SERVICE_WORKER COPY . /tmp/src RUN /tmp/src/tools/install-js-tools.sh -- cgit v1.2.1