From 1d22d2514f7be14d51ed2ab78e13df5da2646546 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Jan 2021 11:16:37 +0100 Subject: Fix service worker --- scripts/build/client.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index e6f14a4e2..0e7925be5 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -69,8 +69,7 @@ else npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams fi -mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" -mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" +cp "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" cd ../ && npm run build:embed && cd client/ -- cgit v1.2.3