diff --git a/src/Notifications/Controllers/SendController.cs b/src/Notifications/Controllers/SendController.cs index d9a32d3feb..c49ef5fce6 100644 --- a/src/Notifications/Controllers/SendController.cs +++ b/src/Notifications/Controllers/SendController.cs @@ -10,7 +10,6 @@ using Microsoft.AspNetCore.SignalR; namespace Bit.Notifications { [Authorize("Internal")] - [SelfHosted(SelfHostedOnly = true)] public class SendController : Controller { private readonly IHubContext _hubContext; @@ -23,13 +22,13 @@ namespace Bit.Notifications [HttpGet("~/alive")] [HttpGet("~/now")] [AllowAnonymous] - [SelfHosted(SelfHostedOnly = false, NotSelfHostedOnly = false)] public DateTime GetAlive() { return DateTime.UtcNow; } [HttpPost("~/send")] + [SelfHosted(SelfHostedOnly = true)] public async Task PostSend() { using(var reader = new StreamReader(Request.Body, Encoding.UTF8))