1
0
mirror of https://github.com/bitwarden/server synced 2025-12-10 13:23:27 +00:00

check if has port, resolves #365

This commit is contained in:
Kyle Spearrin
2018-09-26 16:53:37 -04:00
parent 7164f378fc
commit c16825f8be
2 changed files with 3 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ namespace Bit.Setup
public bool MssqlDataDockerVolume { get; set; }
public string HttpPort { get; set; }
public string HttpsPort { get; set; }
public bool HasPort => !string.IsNullOrWhiteSpace(HttpPort) || !string.IsNullOrWhiteSpace(HttpsPort);
public string CoreVersion { get; set; } = "latest";
public string WebVersion { get; set; } = "latest";
}