Repos / s4g / c65c3e657e
commit c65c3e657e9a5cc337233737d5c82b2782c0fc63
Author: Nhân <hi@imnhan.com>
Date: Thu Aug 24 10:11:36 2023 +0700
make 8000 the default port
diff --git a/main.go b/main.go
index 52702ca..1cb1428 100644
--- a/main.go
+++ b/main.go
@@ -57,7 +57,7 @@ func main() {
serveCmd := flag.NewFlagSet("serve", flag.ExitOnError)
serveCmd.StringVar(&serveFolder, "f", ".", "Website's root folder")
serveCmd.StringVar(&serveHost, "h", "127.0.0.1", "Local server host")
- serveCmd.StringVar(&servePort, "p", "3338", "Local server port")
+ serveCmd.StringVar(&servePort, "p", "8000", "Local server port")
switch cmd {
case "new":