aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/static.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-14 17:38:41 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 10:53:16 +0100
commit50d6de9c286abcb34ff4234d56d9cbb803db7665 (patch)
treef1732b27edcd05c7877a8358b8312f1e38c287ed /server/controllers/static.ts
parentfadf619ad61a016c1c7fc53de5a8f398a4f77519 (diff)
downloadPeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.gz
PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.zst
PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.zip
Begin moving video channel to actor
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r--server/controllers/static.ts10
1 files changed, 3 insertions, 7 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 33aed8927..ccae60517 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -1,11 +1,7 @@
1import * as express from 'express'
2import * as cors from 'cors' 1import * as cors from 'cors'
3import { 2import * as express from 'express'
4 CONFIG, 3import { CONFIG, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers'
5 STATIC_MAX_AGE, 4import { VideosPreviewCache } from '../lib/cache'
6 STATIC_PATHS
7} from '../initializers'
8import { VideosPreviewCache } from '../lib'
9import { asyncMiddleware } from '../middlewares' 5import { asyncMiddleware } from '../middlewares'
10 6
11const staticRouter = express.Router() 7const staticRouter = express.Router()