1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-22 20:11:04 -05: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,8 +93,11 @@ namespace Bit.Setup
if(defaultPorts) if(defaultPorts)
{ {
httpPort = 80; httpPort = 80;
if(ssl)
{
httpsPort = 443; httpsPort = 443;
} }
}
else if(ssl) else if(ssl)
{ {
httpsPort = 443; httpsPort = 443;