mirror of
https://github.com/bitwarden/mobile
synced 2026-01-20 09:23:50 +00:00
handle non-root URLs
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Bit.App.Repositories
|
||||
: base(connectivity, httpService, tokenService)
|
||||
{ }
|
||||
|
||||
protected override string ApiRoute => "settings";
|
||||
protected override string ApiRoute => "/settings";
|
||||
|
||||
public virtual async Task<ApiResult<DomainsResponse>> GetDomains(bool excluded = false)
|
||||
{
|
||||
@@ -37,8 +37,8 @@ namespace Bit.App.Repositories
|
||||
var requestMessage = new TokenHttpRequestMessage()
|
||||
{
|
||||
Method = HttpMethod.Get,
|
||||
RequestUri = new Uri(client.BaseAddress,
|
||||
string.Concat(ApiRoute, "/domains?excluded=", excluded.ToString().ToLowerInvariant())),
|
||||
RequestUri = new Uri(
|
||||
string.Concat(client.BaseAddress, ApiRoute, "/domains?excluded=", excluded.ToString().ToLowerInvariant())),
|
||||
};
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user