aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-01-06 21:34:27 +0700
committerShulhan <ms@kilabit.info>2025-01-07 00:13:55 +0700
commitd420aa693773f5793138589745bf02ea4eea3cf7 (patch)
tree60d6ce227b33c2a54aebbc643f934e12dfc214fe /Makefile
parent85ae94f62b75372943a8ffdd705ce932a7849a8d (diff)
downloadciigo-d420aa693773f5793138589745bf02ea4eea3cf7.tar.xz
all: change the "serve-doc" and default address to prevent conflicts
Using port 8080 as the default address for "serve" is too common and may conflict with other services in user local environment. While at it, also change the "serve-doc" with other random ports to allow us test running "ciigo serve" and viewing doc at the same time.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 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