projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b3806
)
Accept domain without port for webfinger
author
Chocobozzz
<me@florianbigard.com>
Tue, 19 Dec 2017 13:26:32 +0000
(14:26 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 19 Dec 2017 13:26:32 +0000
(14:26 +0100)
server/helpers/custom-validators/webfinger.ts
patch
|
blob
|
history
diff --git
a/server/helpers/custom-validators/webfinger.ts
b/server/helpers/custom-validators/webfinger.ts
index c53db402795eb562c5db634bb2e6a65b723927ee..1b9aad444f0ac835d91e0d3b3d2a37816ff59b00 100644
(file)
--- 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.HOST
NAME || host === CONFIG.WEBSERVER.HOST
}
// ---------------------------------------------------------------------------