summaryrefslogtreecommitdiff
path: root/cmd/ponzu/main.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-28 16:03:16 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-28 16:03:16 -0800
commit8e5aca003ca90e65b9812a4a826a5f8b768b59bb (patch)
tree762b22870a05138d4be0a281ff6b87969c07381d /cmd/ponzu/main.go
parent44a55ad6a05bc720e44f3dd762ca1d9cf3f5579a (diff)
moving call point of goroutine to be more visible to user
Diffstat (limited to 'cmd/ponzu/main.go')
-rw-r--r--cmd/ponzu/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go
index 09edcc0..9ffb433 100644
--- a/cmd/ponzu/main.go
+++ b/cmd/ponzu/main.go
@@ -174,10 +174,10 @@ func main() {
// cannot run production HTTPS and development HTTPS together
if devhttps {
fmt.Println("Enabling self-signed HTTPS... [DEV]")
- tls.EnableDev()
+ go tls.EnableDev()
} else if https {
fmt.Println("Enabling HTTPS...")
- tls.Enable()
+ go tls.Enable()
}
// save the port the system is listening on so internal system can make