aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--cmd/ciigo/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1d2e0ac..3bde4cd 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ build:
CGO_ENABLED=0 go build $(LDFLAGS) -o $(DIR_BUILD) ./cmd/...
serve-doc:
- go run ./cmd/ciigo serve _doc
+ go run ./cmd/ciigo -address=127.0.0.1:20757 serve _doc
.PHONY: chroot-setup chroot-test
diff --git a/cmd/ciigo/main.go b/cmd/ciigo/main.go
index ceb6389..039ebbb 100644
--- a/cmd/ciigo/main.go
+++ b/cmd/ciigo/main.go
@@ -37,7 +37,7 @@ func main() {
htmlTemplate = flag.String("template", "", "path to HTML template")
outputFile = flag.String("out", "ciigo_static.go",
"path to output of .go embed file")
- address = flag.String("address", `127.0.0.1:8080`,
+ address = flag.String(`address`, `127.0.0.1:6320`,
"the binding address for HTTP server")
exclude = flag.String("exclude", "",
"a regex to exclude certain paths from being scanned during covert, embeded, watch, or serve")