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.ts12
1 files changed, 3 insertions, 9 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 9a72fe8e0..39e046727 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -1,15 +1,9 @@
1import * as Bluebird from 'bluebird'
1import * as express from 'express' 2import * as express from 'express'
2import { join } from 'path' 3import { join } from 'path'
3import * as validator from 'validator' 4import * as validator from 'validator'
4import * as Bluebird from 'bluebird' 5import { escapeHTML, readFileBufferPromise, root } from '../helpers/core-utils'
5import { 6import { CONFIG, EMBED_SIZE, OPENGRAPH_AND_OEMBED_COMMENT, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers'
6 CONFIG,
7 STATIC_PATHS,
8 STATIC_MAX_AGE,
9 OPENGRAPH_AND_OEMBED_COMMENT,
10 EMBED_SIZE
11} from '../initializers'
12import { root, readFileBufferPromise, escapeHTML } from '../helpers'
13import { asyncMiddleware } from '../middlewares' 7import { asyncMiddleware } from '../middlewares'
14import { VideoModel } from '../models/video/video' 8import { VideoModel } from '../models/video/video'
15 9