projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f8909
)
Optimize watch endpoint
author
Chocobozzz
<me@florianbigard.com>
Tue, 6 Aug 2019 07:26:28 +0000
(09:26 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 6 Aug 2019 15:20:19 +0000
(17:20 +0200)
server/lib/client-html.ts
patch
|
blob
|
history
diff --git
a/server/lib/client-html.ts
b/server/lib/client-html.ts
index 44bd7abb518b8372ad34269158e070870661e9e2..8841dd2ac2a69f02e88c26eb0caf3760cf49c851 100644
(file)
--- a/
server/lib/client-html.ts
+++ b/
server/lib/client-html.ts
@@
-41,7
+41,7
@@
export class ClientHtml {
const [ html, video ] = await Promise.all([
ClientHtml.getIndexHTML(req, res),
- VideoModel.load
AndPopulateAccountAndServerAndTags
(videoId)
+ VideoModel.load(videoId)
])
// Let Angular application handle errors