Skip to content

Commit

Permalink
refactor: Add server default port.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 24, 2017
1 parent f28f9b1 commit 894c4ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bibikoffi.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func main() {
DryRun: true,
Debug: false,
ConfigFilePath: "./bibikoffi.toml",
ServerPort: 80,
}

defaultPointersOptions := &types.Options{}
Expand Down Expand Up @@ -120,5 +121,5 @@ func (s *server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

fmt.Fprint(w, "Scheluded.\n")
fmt.Fprint(w, "Myrmica Bibikoffi: Scheluded.\n")
}
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Flags:
--config-path Configuration file path. (default "./bibikoffi.toml")
--debug Debug mode. (default "false")
--dry-run Dry run mode. (default "true")
--port Server port. (default "80")
--server Server mode. (default "false")
-t, --token GitHub Token. [required]
-h, --help Print Help (this message) and exit
```
Expand Down

0 comments on commit 894c4ae

Please sign in to comment.