diff options
Diffstat (limited to 'roseh.moe.go')
| -rw-r--r-- | roseh.moe.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roseh.moe.go b/roseh.moe.go index 4b61194..0556269 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -79,10 +79,10 @@ func main() { }) httpServer := http.Server{ - Addr: fmt.Sprintf(":%d", *port), - Handler: mux, - ReadHeaderTimeout: 5 * time.Second, - WriteTimeout: 5 * time.Second, + Addr: fmt.Sprintf(":%d", *port), + Handler: mux, + ReadTimeout: 5 * time.Second, + WriteTimeout: 5 * time.Second, } log.Printf("Listening on %q", httpServer.Addr) |
