mirror of
https://github.com/bitwarden/server.git
synced 2025-04-16 02:28:13 -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)
|
if(response == null || !response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
Cleanup(response);
|
Cleanup(response);
|
||||||
uri = new Uri($"http://{domain}");
|
uri = new Uri($"http://{parsedUri.Host}");
|
||||||
response = await GetAndFollowAsync(uri, 2);
|
response = await GetAndFollowAsync(uri, 2);
|
||||||
if(response == null || !response.IsSuccessStatusCode)
|
if(response == null || !response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
Cleanup(response);
|
Cleanup(response);
|
||||||
uri = new Uri($"https://www.{domain}");
|
uri = new Uri($"https://www.{parsedUri.Host}");
|
||||||
response = await GetAndFollowAsync(uri, 2);
|
response = await GetAndFollowAsync(uri, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user