aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-03 10:14:33 +0100
committerChocobozzz <me@florianbigard.com>2021-12-03 10:14:33 +0100
commit63a3d336f6cc9a293a07fdc12d6bdfb86cfc2fd5 (patch)
treeb78223a7b5d77f60cde51b84f4a348cdd1b2584b /server
parentca87d95bcbfec9241e5840267862bace8b0197fa (diff)
downloadPeerTube-63a3d336f6cc9a293a07fdc12d6bdfb86cfc2fd5.tar.gz
PeerTube-63a3d336f6cc9a293a07fdc12d6bdfb86cfc2fd5.tar.zst
PeerTube-63a3d336f6cc9a293a07fdc12d6bdfb86cfc2fd5.zip
Remove uneeded function
Diffstat (limited to 'server')
-rw-r--r--server/lib/client-html.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts
index 360b4667f..adc3d712e 100644
--- a/server/lib/client-html.ts
+++ b/server/lib/client-html.ts
@@ -350,10 +350,6 @@ class ClientHtml {
350 return join(__dirname, '../../../client/dist/standalone/videos/embed.html') 350 return join(__dirname, '../../../client/dist/standalone/videos/embed.html')
351 } 351 }
352 352
353 private static addHtmlLang (htmlStringPage: string, paramLang: string) {
354 return htmlStringPage.replace('<html>', `<html lang="${paramLang}">`)
355 }
356
357 private static addManifestContentHash (htmlStringPage: string) { 353 private static addManifestContentHash (htmlStringPage: string) {
358 return htmlStringPage.replace('[manifestContentHash]', FILES_CONTENT_HASH.MANIFEST) 354 return htmlStringPage.replace('[manifestContentHash]', FILES_CONTENT_HASH.MANIFEST)
359 } 355 }