Move nodeinfo model in shared/
This commit is contained in:
parent
df39a683ea
commit
c75937d04f
3 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import * as cors from 'cors'
|
||||
import { createReadStream } from 'fs-extra'
|
||||
import * as express from 'express'
|
||||
import { CONFIG, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS, ROUTE_CACHE_LIFETIME } from '../initializers'
|
||||
import { CONFIG, ROUTE_CACHE_LIFETIME, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers'
|
||||
import { VideosPreviewCache } from '../lib/cache'
|
||||
import { cacheRoute } from '../middlewares/cache'
|
||||
import { asyncMiddleware, videosGetValidator } from '../middlewares'
|
||||
|
@ -9,7 +9,7 @@ import { VideoModel } from '../models/video/video'
|
|||
import { VideosCaptionCache } from '../lib/cache/videos-caption-cache'
|
||||
import { UserModel } from '../models/account/user'
|
||||
import { VideoCommentModel } from '../models/video/video-comment'
|
||||
import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../models/nodeinfo'
|
||||
import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../../shared/models/nodeinfo'
|
||||
|
||||
const packageJSON = require('../../../package.json')
|
||||
const staticRouter = express.Router()
|
||||
|
|
Loading…
Reference in a new issue