diff --git a/src/Api/Controllers/PushController.cs b/src/Api/Controllers/PushController.cs index fc759fd4fc..5143d3f4a1 100644 --- a/src/Api/Controllers/PushController.cs +++ b/src/Api/Controllers/PushController.cs @@ -7,11 +7,13 @@ using Bit.Core.Models.Api; using System.Threading.Tasks; using System.Linq; using Microsoft.AspNetCore.Hosting; +using Bit.Api.Utilities; namespace Bit.Api.Controllers { [Route("push")] [Authorize("Push")] + [SelfHosted(NotSelfHostedOnly = true)] public class PushController : Controller { private readonly IPushRegistrationService _pushRegistrationService;