From 1ef7e6e0a08e22c41635a78e9d25bc9ccb56d92f Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Thu, 25 May 2017 10:20:34 -0700 Subject: fix for run with --dev-https, out of order --- cmd/ponzu/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index 362ff6a..7572dcc 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -78,7 +78,7 @@ $ ponzu run --port=8888 api`, } if devhttps { - addTLS = "--devhttps" + addTLS = "--dev-https" } var services string @@ -91,11 +91,11 @@ $ ponzu run --port=8888 api`, name := buildOutputName() buildPathName := strings.Join([]string{".", name}, string(filepath.Separator)) serve := exec.Command(buildPathName, + "serve", + services, fmt.Sprintf("--port=%d", port), fmt.Sprintf("--https-port=%d", httpsport), addTLS, - "serve", - services, ) serve.Stderr = os.Stderr serve.Stdout = os.Stdout -- cgit v1.2.3