mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Fix webfinger validator
This commit is contained in:
parent
225a89c2af
commit
604abfbef5
3 changed files with 2 additions and 5 deletions
|
@ -11,8 +11,7 @@ function isWebfingerResourceValid (value: string) {
|
|||
if (actorParts.length !== 2) return false
|
||||
|
||||
const host = actorParts[1]
|
||||
|
||||
return sanitizeHost(host, REMOTE_SCHEME.HTTP) === CONFIG.WEBSERVER.HOSTNAME
|
||||
return sanitizeHost(host, REMOTE_SCHEME.HTTP) === CONFIG.WEBSERVER.HOST
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue