mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 14:38:15 -05:00
port fixed for setup
This commit is contained in:
parent
daefe0d66b
commit
000fbe8a3d
@ -97,9 +97,9 @@ namespace Bit.Setup
|
|||||||
if(ssl)
|
if(ssl)
|
||||||
{
|
{
|
||||||
Console.Write("(!) HTTPS port: ");
|
Console.Write("(!) HTTPS port: ");
|
||||||
if(!int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpsPort))
|
if(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpsPort))
|
||||||
{
|
{
|
||||||
if(httpPort != 443)
|
if(httpsPort != 443)
|
||||||
{
|
{
|
||||||
url += (":" + httpsPort);
|
url += (":" + httpsPort);
|
||||||
}
|
}
|
||||||
@ -107,7 +107,7 @@ namespace Bit.Setup
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Invalid HTTPS port.");
|
Console.WriteLine("Invalid HTTPS port.");
|
||||||
httpPort = default(int);
|
httpPort = httpsPort = default(int);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(httpPort != 80)
|
else if(httpPort != 80)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user