diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-18 11:16:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-18 11:16:37 +0100 |
commit | 1d22d2514f7be14d51ed2ab78e13df5da2646546 (patch) | |
tree | 87ee5fde348f9b648efeff82461867ee2d1c0fb2 /scripts | |
parent | 83befebe52139f7533669b2e9b99ca1f807eb7ce (diff) | |
download | PeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.tar.gz PeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.tar.zst PeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.zip |
Fix service worker
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
69 | npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams | 69 | npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams |
70 | fi | 70 | fi |
71 | 71 | ||
72 | mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" | 72 | cp "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" |
73 | mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/" | ||
74 | 73 | ||
75 | cd ../ && npm run build:embed && cd client/ | 74 | cd ../ && npm run build:embed && cd client/ |
76 | 75 | ||