summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/ponzu/main.go6
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