diff options
Diffstat (limited to 'server/lib/client-html.ts')
-rw-r--r-- | server/lib/client-html.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 72194416d..a557c090f 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -5,7 +5,7 @@ import validator from 'validator' | |||
5 | import { escapeHTML } from '@shared/core-utils/renderer' | 5 | import { escapeHTML } from '@shared/core-utils/renderer' |
6 | import { HTMLServerConfig } from '@shared/models' | 6 | import { HTMLServerConfig } from '@shared/models' |
7 | import { buildFileLocale, getDefaultLocale, is18nLocale, POSSIBLE_LOCALES } from '../../shared/core-utils/i18n/i18n' | 7 | import { buildFileLocale, getDefaultLocale, is18nLocale, POSSIBLE_LOCALES } from '../../shared/core-utils/i18n/i18n' |
8 | import { HttpStatusCode } from '../../shared/core-utils/miscs/http-error-codes' | 8 | import { HttpStatusCode } from '../../shared/models/http/http-error-codes' |
9 | import { VideoPlaylistPrivacy, VideoPrivacy } from '../../shared/models/videos' | 9 | import { VideoPlaylistPrivacy, VideoPrivacy } from '../../shared/models/videos' |
10 | import { isTestInstance, sha256 } from '../helpers/core-utils' | 10 | import { isTestInstance, sha256 } from '../helpers/core-utils' |
11 | import { logger } from '../helpers/logger' | 11 | import { logger } from '../helpers/logger' |
@@ -162,7 +162,7 @@ class ClientHtml { | |||
162 | let customHtml = ClientHtml.addTitleTag(html, escapeHTML(videoPlaylist.name)) | 162 | let customHtml = ClientHtml.addTitleTag(html, escapeHTML(videoPlaylist.name)) |
163 | customHtml = ClientHtml.addDescriptionTag(customHtml, mdToPlainText(videoPlaylist.description)) | 163 | customHtml = ClientHtml.addDescriptionTag(customHtml, mdToPlainText(videoPlaylist.description)) |
164 | 164 | ||
165 | const url = videoPlaylist.getWatchUrl() | 165 | const url = WEBSERVER.URL + videoPlaylist.getWatchStaticPath() |
166 | const originUrl = videoPlaylist.url | 166 | const originUrl = videoPlaylist.url |
167 | const title = escapeHTML(videoPlaylist.name) | 167 | const title = escapeHTML(videoPlaylist.name) |
168 | const siteName = escapeHTML(CONFIG.INSTANCE.NAME) | 168 | const siteName = escapeHTML(CONFIG.INSTANCE.NAME) |