mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Encrypt OTP secret
This commit is contained in:
parent
a0da6f90d1
commit
a3e5f804ad
16 changed files with 149 additions and 18 deletions
|
@ -45,7 +45,12 @@ try {
|
|||
|
||||
import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init'
|
||||
|
||||
checkConfig()
|
||||
try {
|
||||
checkConfig()
|
||||
} catch (err) {
|
||||
logger.error('Config error.', { err })
|
||||
process.exit(-1)
|
||||
}
|
||||
|
||||
// Trust our proxy (IP forwarding...)
|
||||
app.set('trust proxy', CONFIG.TRUST_PROXY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue