From: Chocobozzz Date: Wed, 16 May 2018 08:44:38 +0000 (+0200) Subject: Enable service worker X-Git-Tag: v1.0.0-beta.5~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a700f1837e8307cf5a0ada19e9be6f421961f45a;p=oweals%2Fpeertube.git Enable service worker --- diff --git a/client/angular.json b/client/angular.json index 4f7f7e72b..8e7bbdf06 100644 --- a/client/angular.json +++ b/client/angular.json @@ -42,8 +42,8 @@ "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, - "serviceWorker": false, - "ngswConfigPath": "/src/ngsw-config.json", + "serviceWorker": true, + "ngswConfigPath": "src/ngsw-config.json", "fileReplacements": [ { "replace": "src/environments/environment.ts",