1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00

only set https port if using ssl

This commit is contained in:
Kyle Spearrin 2018-03-28 22:18:53 -04:00
parent c6f4996010
commit ec395ca0d2

View File

@ -93,7 +93,10 @@ namespace Bit.Setup
if(defaultPorts)
{
httpPort = 80;
httpsPort = 443;
if(ssl)
{
httpsPort = 443;
}
}
else if(ssl)
{