From fc90c35642c1aff571f4d8a6020bf2e1a5adfd5d Mon Sep 17 00:00:00 2001 From: Gervasio Marchand Date: Mon, 5 Dec 2022 16:58:56 -0300 Subject: [PATCH] Output the instance on the header --- src/FakeRelay.Web/Controllers/ApiController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FakeRelay.Web/Controllers/ApiController.cs b/src/FakeRelay.Web/Controllers/ApiController.cs index 75070dc..ea5c374 100644 --- a/src/FakeRelay.Web/Controllers/ApiController.cs +++ b/src/FakeRelay.Web/Controllers/ApiController.cs @@ -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"); } }