aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/client-html.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-06 09:26:28 +0200
committerChocobozzz <me@florianbigard.com>2019-08-06 17:20:19 +0200
commitf847ccb33c7f2b8dd56a280b742b0b3152bf6b34 (patch)
treeadc9a7dc61e5a4c7df4aa19d09f8075cecf2dda4 /server/lib/client-html.ts
parentf9f8909298cdcddbe5360ec1058c0fedc7ea51d9 (diff)
downloadPeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.tar.gz
PeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.tar.zst
PeerTube-f847ccb33c7f2b8dd56a280b742b0b3152bf6b34.zip
Optimize watch endpoint
Diffstat (limited to 'server/lib/client-html.ts')
-rw-r--r--server/lib/client-html.ts2
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