1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-21 18:53:29 +00:00

allow setting vault url for environment

This commit is contained in:
Kyle Spearrin
2017-08-28 17:50:17 -04:00
parent 32a8676572
commit 910f0083cd
7 changed files with 67 additions and 2 deletions

View File

@@ -104,6 +104,24 @@ namespace Bit.App.Services
}
}
public string VaultUrl
{
get
{
return _settings.GetValueOrDefault<string>(Constants.VaultUrl);
}
set
{
if(value == null)
{
_settings.Remove(Constants.VaultUrl);
return;
}
_settings.AddOrUpdateValue(Constants.VaultUrl, value);
}
}
public string ApiUrl
{
get