Verified Commit f847ccb3 authored by Chocobozzz's avatar Chocobozzz
Browse files

Optimize watch endpoint

parent f9f89092
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment