mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
remove old doc db settings
This commit is contained in:
parent
4f59f38326
commit
8664b6bb2e
@ -3,13 +3,6 @@
|
||||
"siteName": "bitwarden",
|
||||
"baseVaultUri": "http://localhost:4001",
|
||||
"jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)",
|
||||
"documentDB": {
|
||||
"uri": "SECRET",
|
||||
"key": "SECRET",
|
||||
"databaseId": "SECRET",
|
||||
"collectionIdPrefix": "SECRET",
|
||||
"numberOfCollections": 1
|
||||
},
|
||||
"sqlServer": {
|
||||
"connectionString": "SECRET"
|
||||
},
|
||||
|
@ -8,20 +8,10 @@ namespace Bit.Core
|
||||
public virtual string SiteName { get; set; }
|
||||
public virtual string BaseVaultUri { get; set; }
|
||||
public virtual string JwtSigningKey { get; set; }
|
||||
public virtual DocumentDBSettings DocumentDB { get; set; } = new DocumentDBSettings();
|
||||
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
||||
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
||||
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
|
||||
|
||||
public class DocumentDBSettings
|
||||
{
|
||||
public string Uri { get; set; }
|
||||
public string Key { get; set; }
|
||||
public string DatabaseId { get; set; }
|
||||
public string CollectionIdPrefix { get; set; }
|
||||
public int NumberOfCollections { get; set; }
|
||||
}
|
||||
|
||||
public class SqlServerSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user