aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-01-25 15:21:19 +0700
committerShulhan <ms@kilabit.info>2025-02-03 20:11:07 +0700
commit327ecf3ee2764cb2a478575735d59d4a37b03a19 (patch)
tree8cce49b2ce25e5cf7d6e74e52cdd505b10d5138a /internal
parentd11c035cec5665d6826737ebeeb51b44f4034b28 (diff)
downloadgorankusu-327ecf3ee2764cb2a478575735d59d4a37b03a19.tar.xz
internal/cmd: use different port for local development
The previous port, 10007, is used for local deployment in my home PC. When we run the test it may cause port conflicts with it.
Diffstat (limited to 'internal')
-rw-r--r--internal/cmd/gorankusu/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/gorankusu/main.go b/internal/cmd/gorankusu/main.go
index 97340ec..1ede9d4 100644
--- a/internal/cmd/gorankusu/main.go
+++ b/internal/cmd/gorankusu/main.go
@@ -34,7 +34,7 @@ func main() {
isDev bool
)
flag.BoolVar(&isDev, `dev`, false, `Run in development mode`)
- flag.StringVar(&listenAddress, `http`, `127.0.0.1:10007`, `Address to serve`)
+ flag.StringVar(&listenAddress, `http`, `127.0.0.1:11007`, `Address to serve`)
flag.Parse()
var subcmd = strings.ToLower(flag.Arg(0))