From ec395ca0d2ebe6bc196d1a9490fd0dfb4620fc82 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 28 Mar 2018 22:18:53 -0400 Subject: [PATCH] only set https port if using ssl --- util/Setup/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index b54147f259..6c5c4d1d1a 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -93,7 +93,10 @@ namespace Bit.Setup if(defaultPorts) { httpPort = 80; - httpsPort = 443; + if(ssl) + { + httpsPort = 443; + } } else if(ssl) {