Accept domain without port for webfinger

pull/161/head
Chocobozzz 2017-12-19 14:26:32 +01:00
parent 54b3806324
commit 232f04c809
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function isWebfingerResourceValid (value: string) {
const host = actorParts[1]
return host === CONFIG.WEBSERVER.HOST
return host === CONFIG.WEBSERVER.HOSTNAME || host === CONFIG.WEBSERVER.HOST
}
// ---------------------------------------------------------------------------