aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/controllers/static.ts4
-rw-r--r--server/models/migrations.ts (renamed from server/models/migrations/index.ts)0
-rw-r--r--shared/models/nodeinfo/index.d.ts (renamed from server/models/nodeinfo/index.d.ts)0
3 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 @@
1import * as cors from 'cors' 1import * as cors from 'cors'
2import { createReadStream } from 'fs-extra' 2import { createReadStream } from 'fs-extra'
3import * as express from 'express' 3import * as express from 'express'
4import { CONFIG, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS, ROUTE_CACHE_LIFETIME } from '../initializers' 4import { CONFIG, ROUTE_CACHE_LIFETIME, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers'
5import { VideosPreviewCache } from '../lib/cache' 5import { VideosPreviewCache } from '../lib/cache'
6import { cacheRoute } from '../middlewares/cache' 6import { cacheRoute } from '../middlewares/cache'
7import { asyncMiddleware, videosGetValidator } from '../middlewares' 7import { asyncMiddleware, videosGetValidator } from '../middlewares'
@@ -9,7 +9,7 @@ import { VideoModel } from '../models/video/video'
9import { VideosCaptionCache } from '../lib/cache/videos-caption-cache' 9import { VideosCaptionCache } from '../lib/cache/videos-caption-cache'
10import { UserModel } from '../models/account/user' 10import { UserModel } from '../models/account/user'
11import { VideoCommentModel } from '../models/video/video-comment' 11import { VideoCommentModel } from '../models/video/video-comment'
12import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../models/nodeinfo' 12import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../../shared/models/nodeinfo'
13 13
14const packageJSON = require('../../../package.json') 14const packageJSON = require('../../../package.json')
15const staticRouter = express.Router() 15const staticRouter = express.Router()
diff --git a/server/models/migrations/index.ts b/server/models/migrations.ts
index 24badb166..24badb166 100644
--- a/server/models/migrations/index.ts
+++ b/server/models/migrations.ts
diff --git a/server/models/nodeinfo/index.d.ts b/shared/models/nodeinfo/index.d.ts
index 0a2d0492e..0a2d0492e 100644
--- a/server/models/nodeinfo/index.d.ts
+++ b/shared/models/nodeinfo/index.d.ts