aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-18 11:16:37 +0100
committerChocobozzz <me@florianbigard.com>2021-01-18 11:16:37 +0100
commit1d22d2514f7be14d51ed2ab78e13df5da2646546 (patch)
tree87ee5fde348f9b648efeff82461867ee2d1c0fb2 /scripts
parent83befebe52139f7533669b2e9b99ca1f807eb7ce (diff)
downloadPeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.tar.gz
PeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.tar.zst
PeerTube-1d22d2514f7be14d51ed2ab78e13df5da2646546.zip
Fix service worker
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh3
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
70fi 70fi
71 71
72mv "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest" 72cp "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest"
73mv "./dist/$defaultLanguage/ngsw-worker.js" "./dist/"
74 73
75cd ../ && npm run build:embed && cd client/ 74cd ../ && npm run build:embed && cd client/
76 75