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

View File

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