mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
update to new 2.0.0 preview for notification hub
This commit is contained in:
@ -91,12 +91,10 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
services.AddSingleton<IPushRegistrationService, RelayPushRegistrationService>();
|
||||
}
|
||||
#if NET471
|
||||
else if(!globalSettings.SelfHosted)
|
||||
{
|
||||
services.AddSingleton<IPushRegistrationService, NotificationHubPushRegistrationService>();
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
services.AddSingleton<IPushRegistrationService, NoopPushRegistrationService>();
|
||||
|
Reference in New Issue
Block a user