mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
created push service using with pushsharp
This commit is contained in:
@ -127,6 +127,7 @@ namespace Bit.Api
|
||||
services.AddSingleton<IMailService, MailService>();
|
||||
services.AddSingleton<ICipherService, CipherService>();
|
||||
services.AddScoped<IUserService, UserService>();
|
||||
services.AddScoped<IPushService, PushService>();
|
||||
|
||||
// Cors
|
||||
services.AddCors(config =>
|
||||
|
@ -1,22 +1,29 @@
|
||||
{
|
||||
"globalSettings": {
|
||||
"siteName": "bitwarden",
|
||||
"baseVaultUri": "http://localhost:4001",
|
||||
"jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)",
|
||||
"sqlServer": {
|
||||
"connectionString": "SECRET"
|
||||
},
|
||||
"mail": {
|
||||
"apiKey": "SECRET",
|
||||
"replyToEmail": "do-not-reply@bitwarden.com"
|
||||
},
|
||||
"loggr": {
|
||||
"logKey": "SECRET",
|
||||
"apiKey": "SECRET"
|
||||
},
|
||||
"cache": {
|
||||
"connectionString": "SECRET.COM:6380,password=SECRET,ssl=True,abortConnect=False",
|
||||
"database": 0
|
||||
"globalSettings": {
|
||||
"siteName": "bitwarden",
|
||||
"baseVaultUri": "http://localhost:4001",
|
||||
"jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)",
|
||||
"sqlServer": {
|
||||
"connectionString": "SECRET"
|
||||
},
|
||||
"mail": {
|
||||
"apiKey": "SECRET",
|
||||
"replyToEmail": "do-not-reply@bitwarden.com"
|
||||
},
|
||||
"loggr": {
|
||||
"logKey": "SECRET",
|
||||
"apiKey": "SECRET"
|
||||
},
|
||||
"cache": {
|
||||
"connectionString": "SECRET.COM:6380,password=SECRET,ssl=True,abortConnect=False",
|
||||
"database": 0
|
||||
},
|
||||
"push": {
|
||||
"ApnsCertificateThumbprint": "SECRET",
|
||||
"ApnsCertificatePassword": "SECRET",
|
||||
"GcmSenderId": "SECRET",
|
||||
"GcmApiKey": "SECRET",
|
||||
"GcmAppPackageName": "com.bitwarden.vault"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user