Optimize watch endpoint
This commit is contained in:
parent
f9f8909298
commit
f847ccb33c
|
@ -41,7 +41,7 @@ export class ClientHtml {
|
|||
|
||||
const [ html, video ] = await Promise.all([
|
||||
ClientHtml.getIndexHTML(req, res),
|
||||
VideoModel.loadAndPopulateAccountAndServerAndTags(videoId)
|
||||
VideoModel.load(videoId)
|
||||
])
|
||||
|
||||
// Let Angular application handle errors
|
||||
|
|
Loading…
Reference in New Issue