Conversation
Notices
-
function getWebfingerHandler(req::HTTP.Request) println("GET:/.well-known/webfinger") json = Dict( "subject" => string("acct:relay@", HOSTNAME), "aliases" => [ string("https://", HOSTNAME, "/actor") ], "links" => [ Dict( "rel" => "self", "type" => "application/activity+json", "href" => string("https://", HOSTNAME, "/actor") ), Dict( "rel" => "self", "type" => "application/json+ld", "href" => string("https://", HOSTNAME, "/actor") ) ] ) return HTTP.Response(200, JSON.json(json))end