mirror of
https://github.com/bitwarden/server.git
synced 2025-04-13 17:18:14 -05:00
use parsedUri.Host
This commit is contained in:
parent
1b59e70991
commit
37375d8653
@ -60,12 +60,12 @@ namespace Bit.Icons.Services
|
||||
if(response == null || !response.IsSuccessStatusCode)
|
||||
{
|
||||
Cleanup(response);
|
||||
uri = new Uri($"http://{domain}");
|
||||
uri = new Uri($"http://{parsedUri.Host}");
|
||||
response = await GetAndFollowAsync(uri, 2);
|
||||
if(response == null || !response.IsSuccessStatusCode)
|
||||
{
|
||||
Cleanup(response);
|
||||
uri = new Uri($"https://www.{domain}");
|
||||
uri = new Uri($"https://www.{parsedUri.Host}");
|
||||
response = await GetAndFollowAsync(uri, 2);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user