1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 10:43:44 +00:00

internal api & vault urls. apply to version check

This commit is contained in:
Kyle Spearrin
2018-03-29 08:45:04 -04:00
parent da970c2308
commit 4ce69dac2b
24 changed files with 69 additions and 22 deletions

View File

@@ -68,7 +68,8 @@ namespace Bit.Admin.Controllers
{
try
{
var response = await _httpClient.GetAsync($"{_globalSettings.BaseServiceUri.Vault}/version.json");
var response = await _httpClient.GetAsync(
$"{_globalSettings.BaseServiceUri.InternalVault}/version.json");
if(response.IsSuccessStatusCode)
{
var json = await response.Content.ReadAsStringAsync();