diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 13:58:07 +0100 |
commit | f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (patch) | |
tree | 5d2b8e1c0e3ec05ad3e18cb59fe9ad84fac710eb /server/lib/client-html.ts | |
parent | c55e3d7227fe1453869e309025996b9d75256d5d (diff) | |
download | PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.gz PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.tar.zst PeerTube-f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1.zip |
Fix build
Diffstat (limited to 'server/lib/client-html.ts')
-rw-r--r-- | server/lib/client-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 91708839b..e7e439bfe 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -4,12 +4,12 @@ import { join } from 'path' | |||
4 | import validator from 'validator' | 4 | import validator from 'validator' |
5 | import { toCompleteUUID } from '@server/helpers/custom-validators/misc' | 5 | import { toCompleteUUID } from '@server/helpers/custom-validators/misc' |
6 | import { escapeHTML } from '@shared/core-utils/renderer' | 6 | import { escapeHTML } from '@shared/core-utils/renderer' |
7 | import { sha256 } from '@shared/extra-utils' | ||
7 | import { HTMLServerConfig } from '@shared/models' | 8 | import { HTMLServerConfig } from '@shared/models' |
8 | import { buildFileLocale, getDefaultLocale, is18nLocale, POSSIBLE_LOCALES } from '../../shared/core-utils/i18n/i18n' | 9 | import { buildFileLocale, getDefaultLocale, is18nLocale, POSSIBLE_LOCALES } from '../../shared/core-utils/i18n/i18n' |
9 | import { HttpStatusCode } from '../../shared/models/http/http-error-codes' | 10 | import { HttpStatusCode } from '../../shared/models/http/http-error-codes' |
10 | import { VideoPlaylistPrivacy, VideoPrivacy } from '../../shared/models/videos' | 11 | import { VideoPlaylistPrivacy, VideoPrivacy } from '../../shared/models/videos' |
11 | import { isTestInstance } from '../helpers/core-utils' | 12 | import { isTestInstance } from '../helpers/core-utils' |
12 | import { sha256 } from '@shared/core-utils/common/crypto' | ||
13 | import { logger } from '../helpers/logger' | 13 | import { logger } from '../helpers/logger' |
14 | import { mdToPlainText } from '../helpers/markdown' | 14 | import { mdToPlainText } from '../helpers/markdown' |
15 | import { CONFIG } from '../initializers/config' | 15 | import { CONFIG } from '../initializers/config' |