diff options
author | BO41 <lukasw41@gmail.com> | 2018-09-19 18:27:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-20 08:22:29 +0200 |
commit | fcc7c060374c3a547257d96af847352c14d6144b (patch) | |
tree | 203bd6a583a6b1285fb82236072827f881585fb8 | |
parent | f41d6aacdf3b67e0c8d4e7a599b331d90aa607b7 (diff) | |
download | PeerTube-fcc7c060374c3a547257d96af847352c14d6144b.tar.gz PeerTube-fcc7c060374c3a547257d96af847352c14d6144b.tar.zst PeerTube-fcc7c060374c3a547257d96af847352c14d6144b.zip |
rename manifest
-rw-r--r-- | client/angular.json | 4 | ||||
-rw-r--r-- | client/src/index.html | 2 | ||||
-rw-r--r-- | client/src/manifest.webmanifest (renamed from client/src/manifest.json) | 2 | ||||
-rw-r--r-- | server/controllers/client.ts | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/client/angular.json b/client/angular.json index 789eeb3d0..2cf2ecd62 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -24,7 +24,7 @@ | |||
24 | }, | 24 | }, |
25 | "assets": [ | 25 | "assets": [ |
26 | "src/assets/images", | 26 | "src/assets/images", |
27 | "src/manifest.json" | 27 | "src/manifest.webmanifest" |
28 | ], | 28 | ], |
29 | "styles": [ | 29 | "styles": [ |
30 | "src/sass/application.scss" | 30 | "src/sass/application.scss" |
@@ -105,7 +105,7 @@ | |||
105 | ], | 105 | ], |
106 | "assets": [ | 106 | "assets": [ |
107 | "src/assets/images", | 107 | "src/assets/images", |
108 | "src/manifest.json" | 108 | "src/manifest.webmanifest" |
109 | ] | 109 | ] |
110 | } | 110 | } |
111 | }, | 111 | }, |
diff --git a/client/src/index.html b/client/src/index.html index f00af8bff..593de4ac6 100644 --- a/client/src/index.html +++ b/client/src/index.html | |||
@@ -7,7 +7,7 @@ | |||
7 | <meta name="theme-color" content="#fff" /> | 7 | <meta name="theme-color" content="#fff" /> |
8 | 8 | ||
9 | <!-- Web Manifest file --> | 9 | <!-- Web Manifest file --> |
10 | <link rel="manifest" href="/manifest.json"> | 10 | <link rel="manifest" href="/manifest.webmanifest"> |
11 | 11 | ||
12 | <!-- /!\ The following comment is used by the server to prerender some tags /!\ --> | 12 | <!-- /!\ The following comment is used by the server to prerender some tags /!\ --> |
13 | 13 | ||
diff --git a/client/src/manifest.json b/client/src/manifest.webmanifest index 30914e35f..3d3c7d6d5 100644 --- a/client/src/manifest.json +++ b/client/src/manifest.webmanifest | |||
@@ -24,7 +24,7 @@ | |||
24 | "src": "/client/assets/images/icons/icon-96x96.png", | 24 | "src": "/client/assets/images/icons/icon-96x96.png", |
25 | "sizes": "96x96", | 25 | "sizes": "96x96", |
26 | "type": "image/png" | 26 | "type": "image/png" |
27 | }, | 27 | }, |
28 | { | 28 | { |
29 | "src": "/client/assets/images/icons/icon-144x144.png", | 29 | "src": "/client/assets/images/icons/icon-144x144.png", |
30 | "sizes": "144x144", | 30 | "sizes": "144x144", |
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index c33061289..73b40cf65 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -35,7 +35,7 @@ clientsRouter.use('' + | |||
35 | // Static HTML/CSS/JS client files | 35 | // Static HTML/CSS/JS client files |
36 | 36 | ||
37 | const staticClientFiles = [ | 37 | const staticClientFiles = [ |
38 | 'manifest.json', | 38 | 'manifest.webmanifest', |
39 | 'ngsw-worker.js', | 39 | 'ngsw-worker.js', |
40 | 'ngsw.json' | 40 | 'ngsw.json' |
41 | ] | 41 | ] |