diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-25 10:20:34 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-05-25 10:20:34 -0700 |
commit | 1ef7e6e0a08e22c41635a78e9d25bc9ccb56d92f (patch) | |
tree | 72a8557eb7e717b930d2a3ff304a77f4ddff437d /cmd | |
parent | f24c9896a0e91235d0190f617f05cee0256fc2e9 (diff) |
fix for run with --dev-https, out of order
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ponzu/main.go | 6 |
1 files 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 |