aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-12 14:58:34 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-12 14:58:34 +0200
commit0b7db72af30403fb6c7d906a4c239a5519cf934d (patch)
treef37ebff2446f68d65aab751679d2a18a4be885ab /server/controllers
parentd38309c345e2619bdfcc618d723d742fd7d5e655 (diff)
downloadPeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.tar.gz
PeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.tar.zst
PeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.zip
Fix lint
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/client.ts1
-rw-r--r--server/controllers/static.ts1
2 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts
index 1324e62cd..b23f7e1ae 100644
--- a/server/controllers/client.ts
+++ b/server/controllers/client.ts
@@ -6,7 +6,6 @@ import * as Promise from 'bluebird'
6import { database as db } from '../initializers/database' 6import { database as db } from '../initializers/database'
7import { 7import {
8 CONFIG, 8 CONFIG,
9 REMOTE_SCHEME,
10 STATIC_PATHS, 9 STATIC_PATHS,
11 STATIC_MAX_AGE, 10 STATIC_MAX_AGE,
12 OPENGRAPH_COMMENT 11 OPENGRAPH_COMMENT
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 2fd14131e..b20bafc76 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -37,7 +37,6 @@ staticRouter.use(
37) 37)
38 38
39// Video previews path for express 39// Video previews path for express
40const previewsPhysicalPath = CONFIG.STORAGE.PREVIEWS_DIR
41staticRouter.use( 40staticRouter.use(
42 STATIC_PATHS.PREVIEWS + ':uuid.jpg', 41 STATIC_PATHS.PREVIEWS + ':uuid.jpg',
43 getPreview 42 getPreview