Output the instance on the header

This commit is contained in:
Gervasio Marchand 2022-12-05 16:58:56 -03:00
parent 2db1ac7e43
commit fc90c35642
No known key found for this signature in database
GPG Key ID: B7736CB188DD0A38

View File

@ -46,6 +46,7 @@ public class ApiController : Controller
}
var response = await MastodonHelper.EnqueueStatusToFetchAsync(host, statusUrl);
Response.Headers["instance"] = host;
return Content(response, "application/activity+json");
}
}