aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r--server/controllers/client.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 703166c01..2157ae533 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -138,31 +138,31 @@ async function generateEmbedHtmlPage (req: express.Request, res: express.Respons
138async function generateWatchHtmlPage (req: express.Request, res: express.Response) { 138async function generateWatchHtmlPage (req: express.Request, res: express.Response) {
139 const html = await ClientHtml.getWatchHTMLPage(req.params.id + '', req, res) 139 const html = await ClientHtml.getWatchHTMLPage(req.params.id + '', req, res)
140 140
141 return sendHTML(html, res) 141 return sendHTML(html, res, true)
142} 142}
143 143
144async function generateWatchPlaylistHtmlPage (req: express.Request, res: express.Response) { 144async function generateWatchPlaylistHtmlPage (req: express.Request, res: express.Response) {
145 const html = await ClientHtml.getWatchPlaylistHTMLPage(req.params.id + '', req, res) 145 const html = await ClientHtml.getWatchPlaylistHTMLPage(req.params.id + '', req, res)
146 146
147 return sendHTML(html, res) 147 return sendHTML(html, res, true)
148} 148}
149 149
150async function generateAccountHtmlPage (req: express.Request, res: express.Response) { 150async function generateAccountHtmlPage (req: express.Request, res: express.Response) {
151 const html = await ClientHtml.getAccountHTMLPage(req.params.nameWithHost, req, res) 151 const html = await ClientHtml.getAccountHTMLPage(req.params.nameWithHost, req, res)
152 152
153 return sendHTML(html, res) 153 return sendHTML(html, res, true)
154} 154}
155 155
156async function generateVideoChannelHtmlPage (req: express.Request, res: express.Response) { 156async function generateVideoChannelHtmlPage (req: express.Request, res: express.Response) {
157 const html = await ClientHtml.getVideoChannelHTMLPage(req.params.nameWithHost, req, res) 157 const html = await ClientHtml.getVideoChannelHTMLPage(req.params.nameWithHost, req, res)
158 158
159 return sendHTML(html, res) 159 return sendHTML(html, res, true)
160} 160}
161 161
162async function generateActorHtmlPage (req: express.Request, res: express.Response) { 162async function generateActorHtmlPage (req: express.Request, res: express.Response) {
163 const html = await ClientHtml.getActorHTMLPage(req.params.nameWithHost, req, res) 163 const html = await ClientHtml.getActorHTMLPage(req.params.nameWithHost, req, res)
164 164
165 return sendHTML(html, res) 165 return sendHTML(html, res, true)
166} 166}
167 167
168async function generateManifest (req: express.Request, res: express.Response) { 168async function generateManifest (req: express.Request, res: express.Response) {