1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

remove old doc db settings

This commit is contained in:
Kyle Spearrin 2016-06-09 18:53:53 -04:00
parent 4f59f38326
commit 8664b6bb2e
2 changed files with 0 additions and 17 deletions

View File

@ -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"
},

View File

@ -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; }