Skip to content

Commit e9ec26f

Browse files
committed
changed "serve" default port to 8080 (#121)
1 parent 846ab32 commit e9ec26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ func main() {
432432
cmdServe.Flags().AddFlag(flagColor)
433433
cmdServe.Flags().AddFlag(flagTags)
434434
var port int
435-
cmdServe.Flags().IntVarP(&port, "port", "p", 6060, "HTTP port")
435+
cmdServe.Flags().IntVarP(&port, "port", "p", 8080, "HTTP port")
436436
cmdServe.Run = func(cmd *cobra.Command, args []string) {
437437
dirs := append(filepath.SplitList(build.Default.GOPATH), build.Default.GOROOT)
438438
sourceFiles := http.FileServer(serveCommandFileSystem{options: options, dirs: dirs, sourceMaps: make(map[string][]byte)})

0 commit comments

Comments
 (0)