1
0
Fork 0

Move nodeinfo model in shared/

This commit is contained in:
Chocobozzz 2018-09-04 15:34:11 +02:00
parent df39a683ea
commit c75937d04f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 2 additions and 2 deletions

View file

@ -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()