diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-04 15:34:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-04 15:34:11 +0200 |
commit | c75937d04f0a45b1ba169d28d0854ad33cfee900 (patch) | |
tree | a2b6c36e18f03f376c6e3d8cf42bf692e53c5464 /server/controllers | |
parent | df39a683eae942dc31e115426165f95f60373311 (diff) | |
download | PeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.tar.gz PeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.tar.zst PeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.zip |
Move nodeinfo model in shared/
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/static.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 6e8f1a07f..df31c3134 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as cors from 'cors' | 1 | import * as cors from 'cors' |
2 | import { createReadStream } from 'fs-extra' | 2 | import { createReadStream } from 'fs-extra' |
3 | import * as express from 'express' | 3 | import * as express from 'express' |
4 | import { CONFIG, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS, ROUTE_CACHE_LIFETIME } from '../initializers' | 4 | import { CONFIG, ROUTE_CACHE_LIFETIME, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers' |
5 | import { VideosPreviewCache } from '../lib/cache' | 5 | import { VideosPreviewCache } from '../lib/cache' |
6 | import { cacheRoute } from '../middlewares/cache' | 6 | import { cacheRoute } from '../middlewares/cache' |
7 | import { asyncMiddleware, videosGetValidator } from '../middlewares' | 7 | import { asyncMiddleware, videosGetValidator } from '../middlewares' |
@@ -9,7 +9,7 @@ import { VideoModel } from '../models/video/video' | |||
9 | import { VideosCaptionCache } from '../lib/cache/videos-caption-cache' | 9 | import { VideosCaptionCache } from '../lib/cache/videos-caption-cache' |
10 | import { UserModel } from '../models/account/user' | 10 | import { UserModel } from '../models/account/user' |
11 | import { VideoCommentModel } from '../models/video/video-comment' | 11 | import { VideoCommentModel } from '../models/video/video-comment' |
12 | import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../models/nodeinfo' | 12 | import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../../shared/models/nodeinfo' |
13 | 13 | ||
14 | const packageJSON = require('../../../package.json') | 14 | const packageJSON = require('../../../package.json') |
15 | const staticRouter = express.Router() | 15 | const staticRouter = express.Router() |