mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-29 12:04:02 -06:00
Use dashes for filenames
This commit is contained in:
parent
fc51fde048
commit
5f698b82c7
@ -30,7 +30,7 @@ if (miss.length !== 0) {
|
||||
}
|
||||
|
||||
// ----------- PeerTube modules -----------
|
||||
const customValidators = require('./server/helpers/customValidators')
|
||||
const customValidators = require('./server/helpers/custom-validators')
|
||||
const installer = require('./server/initializers/installer')
|
||||
const mongoose = require('mongoose')
|
||||
const routes = require('./server/controllers')
|
||||
|
@ -5,7 +5,7 @@ const replay = require('request-replay')
|
||||
const request = require('request')
|
||||
|
||||
const constants = require('../initializers/constants')
|
||||
const peertubeCrypto = require('./peertubeCrypto')
|
||||
const peertubeCrypto = require('./peertube-crypto')
|
||||
|
||||
const http = config.get('webserver.https') ? 'https' : 'http'
|
||||
const host = config.get('webserver.host')
|
||||
|
@ -9,7 +9,7 @@ const path = require('path')
|
||||
|
||||
const checker = require('./checker')
|
||||
const logger = require('../helpers/logger')
|
||||
const peertubeCrypto = require('../helpers/peertubeCrypto')
|
||||
const peertubeCrypto = require('../helpers/peertube-crypto')
|
||||
|
||||
const Client = mongoose.model('OAuthClient')
|
||||
const User = mongoose.model('User')
|
||||
|
@ -8,7 +8,7 @@ const request = require('request')
|
||||
|
||||
const constants = require('../initializers/constants')
|
||||
const logger = require('../helpers/logger')
|
||||
const peertubeCrypto = require('../helpers/peertubeCrypto')
|
||||
const peertubeCrypto = require('../helpers/peertube-crypto')
|
||||
const requests = require('../helpers/requests')
|
||||
|
||||
const http = config.get('webserver.https') ? 'https' : 'http'
|
||||
|
@ -57,7 +57,7 @@ function create (options, callback) {
|
||||
throw new Error('Received exception error from webtorrent process : ' + data.exception)
|
||||
})
|
||||
|
||||
const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true })
|
||||
const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrent-process.js'), host, port, { detached: true })
|
||||
|
||||
if (electronDebug === true) {
|
||||
webtorrentProcess.stderr.on('data', function (data) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
const logger = require('../helpers/logger')
|
||||
const mongoose = require('mongoose')
|
||||
const peertubeCrypto = require('../helpers/peertubeCrypto')
|
||||
const peertubeCrypto = require('../helpers/peertube-crypto')
|
||||
|
||||
const Pod = mongoose.model('Pod')
|
||||
|
||||
|
@ -4,7 +4,7 @@ const mongoose = require('mongoose')
|
||||
|
||||
const checkErrors = require('./utils').checkErrors
|
||||
const constants = require('../../initializers/constants')
|
||||
const customValidators = require('../../helpers/customValidators')
|
||||
const customValidators = require('../../helpers/custom-validators')
|
||||
const logger = require('../../helpers/logger')
|
||||
|
||||
const Video = mongoose.model('Video')
|
||||
|
@ -8,7 +8,7 @@ const pathUtils = require('path')
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const constants = require('../initializers/constants')
|
||||
const customValidators = require('../helpers/customValidators')
|
||||
const customValidators = require('../helpers/custom-validators')
|
||||
const logger = require('../helpers/logger')
|
||||
const utils = require('../helpers/utils')
|
||||
const webtorrent = require('../lib/webtorrent')
|
||||
|
Loading…
Reference in New Issue
Block a user