diff options
author | Kimsible <1877318+kimsible@users.noreply.github.com> | 2020-11-16 10:34:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 10:34:05 +0100 |
commit | 8872828d59a5152e27734711ae30ebe86e84f570 (patch) | |
tree | 81c1e997c367d9852ec92643b16fc6885e0cacb1 /server | |
parent | 2b8d7a7d590ff71bf143c89d95a2289a1d6d3d85 (diff) | |
download | PeerTube-8872828d59a5152e27734711ae30ebe86e84f570.tar.gz PeerTube-8872828d59a5152e27734711ae30ebe86e84f570.tar.zst PeerTube-8872828d59a5152e27734711ae30ebe86e84f570.zip |
add client overrides to nginx configuration (#3297)
Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/client.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 335a0e082..592233676 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -64,6 +64,7 @@ for (const staticClientFile of staticClientFiles) { | |||
64 | clientsRouter.get('/manifest.webmanifest', asyncMiddleware(generateManifest)) | 64 | clientsRouter.get('/manifest.webmanifest', asyncMiddleware(generateManifest)) |
65 | 65 | ||
66 | // Static client overrides | 66 | // Static client overrides |
67 | // Must be consistent with static client overrides redirections in /support/nginx/peertube | ||
67 | const staticClientOverrides = [ | 68 | const staticClientOverrides = [ |
68 | 'assets/images/logo.svg', | 69 | 'assets/images/logo.svg', |
69 | 'assets/images/favicon.png', | 70 | 'assets/images/favicon.png', |