mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00:00
only set https port if using ssl
This commit is contained in:
@@ -93,7 +93,10 @@ namespace Bit.Setup
|
|||||||
if(defaultPorts)
|
if(defaultPorts)
|
||||||
{
|
{
|
||||||
httpPort = 80;
|
httpPort = 80;
|
||||||
httpsPort = 443;
|
if(ssl)
|
||||||
|
{
|
||||||
|
httpsPort = 443;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(ssl)
|
else if(ssl)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user