Merge pull request #8 from PaulKiddle/patch-1

sendCreateMessage: Include port in targetDomain
This commit is contained in:
Darius Kazemi 2022-06-23 08:07:48 -07:00 committed by GitHub
commit 8c2349ade6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ function sendCreateMessage(text, name, domain, req, res) {
for (let follower of followers) {
let inbox = follower+'/inbox';
let myURL = new URL(follower);
let targetDomain = myURL.hostname;
let targetDomain = myURL.host;
let message = createMessage(text, name, domain, req, res, follower);
signAndSend(message, name, domain, req, res, targetDomain, inbox);
}