mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2024-11-22 07:13:08 +01:00
Output the instance on the header
This commit is contained in:
parent
2db1ac7e43
commit
fc90c35642
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user