mirror of https://github.com/Chocobozzz/PeerTube
Fix lint
parent
d38309c345
commit
0b7db72af3
|
@ -6,7 +6,6 @@ import * as Promise from 'bluebird'
|
|||
import { database as db } from '../initializers/database'
|
||||
import {
|
||||
CONFIG,
|
||||
REMOTE_SCHEME,
|
||||
STATIC_PATHS,
|
||||
STATIC_MAX_AGE,
|
||||
OPENGRAPH_COMMENT
|
||||
|
|
|
@ -37,7 +37,6 @@ staticRouter.use(
|
|||
)
|
||||
|
||||
// Video previews path for express
|
||||
const previewsPhysicalPath = CONFIG.STORAGE.PREVIEWS_DIR
|
||||
staticRouter.use(
|
||||
STATIC_PATHS.PREVIEWS + ':uuid.jpg',
|
||||
getPreview
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
import { join } from 'path'
|
||||
import * as config from 'config'
|
||||
import * as passwordGenerator from 'password-generator'
|
||||
import * as Promise from 'bluebird'
|
||||
|
||||
import { database as db } from './database'
|
||||
import { USER_ROLES, CONFIG, LAST_MIGRATION_VERSION, CACHE } from './constants'
|
||||
import { clientsExist, usersExist } from './checker'
|
||||
import { logger, createCertsIfNotExist, root, mkdirpPromise, rimrafPromise } from '../helpers'
|
||||
import { logger, createCertsIfNotExist, mkdirpPromise, rimrafPromise } from '../helpers'
|
||||
|
||||
function installApplication () {
|
||||
return db.sequelize.sync()
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
import * as request from 'request'
|
||||
import * as asyncLRU from 'async-lru'
|
||||
import { join } from 'path'
|
||||
import { createWriteStream } from 'fs'
|
||||
import * as Promise from 'bluebird'
|
||||
|
||||
import { database as db, CONFIG, CACHE } from '../../initializers'
|
||||
import { logger, writeFilePromise, unlinkPromise } from '../../helpers'
|
||||
import { logger, unlinkPromise } from '../../helpers'
|
||||
import { VideoInstance } from '../../models'
|
||||
import { fetchRemotePreview } from '../../lib'
|
||||
|
||||
|
|
Loading…
Reference in New Issue