diff --git a/server/helpers/custom-validators/webfinger.ts b/server/helpers/custom-validators/webfinger.ts index c53db4027..1b9aad444 100644 --- a/server/helpers/custom-validators/webfinger.ts +++ b/server/helpers/custom-validators/webfinger.ts @@ -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 } // ---------------------------------------------------------------------------