mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2025-08-18 16:58:10 +02:00
Output the instance on the header
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user