mirror of https://github.com/Chocobozzz/PeerTube
Accept domain without port for webfinger
parent
54b3806324
commit
232f04c809
|
@ -11,7 +11,7 @@ function isWebfingerResourceValid (value: string) {
|
||||||
|
|
||||||
const host = actorParts[1]
|
const host = actorParts[1]
|
||||||
|
|
||||||
return host === CONFIG.WEBSERVER.HOST
|
return host === CONFIG.WEBSERVER.HOSTNAME || host === CONFIG.WEBSERVER.HOST
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue