1
0
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:
Kyle Spearrin
2018-08-06 09:04:31 -04:00
parent 58d29cc4a8
commit b2715503c3
5 changed files with 50 additions and 28 deletions

View File

@ -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>();