mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Move models to typescript-sequelize
This commit is contained in:
parent
c893d4514e
commit
3fd3ab2d34
150 changed files with 3676 additions and 5074 deletions
|
@ -1,6 +1,4 @@
|
|||
import 'express-validator'
|
||||
import 'multer'
|
||||
import { CONFIG } from '../../initializers/constants'
|
||||
import { CONFIG } from '../../initializers'
|
||||
import { exists } from './misc'
|
||||
|
||||
function isWebfingerResourceValid (value: string) {
|
||||
|
@ -13,9 +11,7 @@ function isWebfingerResourceValid (value: string) {
|
|||
|
||||
const host = accountParts[1]
|
||||
|
||||
if (host !== CONFIG.WEBSERVER.HOST) return false
|
||||
|
||||
return true
|
||||
return host === CONFIG.WEBSERVER.HOST
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue