mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05:00
only set https port if using ssl
This commit is contained in:
parent
c6f4996010
commit
ec395ca0d2
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user