diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-06 09:26:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-06 17:20:19 +0200 |
commit | f847ccb33c7f2b8dd56a280b742b0b3152bf6b34 (patch) | |
tree | adc9a7dc61e5a4c7df4aa19d09f8075cecf2dda4 /server/lib | |
parent | f9f8909298cdcddbe5360ec1058c0fedc7ea51d9 (diff) | |
download | PeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.tar.gz PeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.tar.zst PeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.zip |
Optimize watch endpoint
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/client-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 44bd7abb5..8841dd2ac 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -41,7 +41,7 @@ export class ClientHtml { | |||
41 | 41 | ||
42 | const [ html, video ] = await Promise.all([ | 42 | const [ html, video ] = await Promise.all([ |
43 | ClientHtml.getIndexHTML(req, res), | 43 | ClientHtml.getIndexHTML(req, res), |
44 | VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) | 44 | VideoModel.load(videoId) |
45 | ]) | 45 | ]) |
46 | 46 | ||
47 | // Let Angular application handle errors | 47 | // Let Angular application handle errors |