summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roseh.moe.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index 78c0625..77c78c1 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -478,11 +478,6 @@ func main() {
http.HandleFunc("GET /", notFound)
addr := fmt.Sprintf(":%d", *port)
- server := &http.Server{
- Addr: addr,
- ReadTimeout: 10 * time.Minute,
- WriteTimeout: time.Minute,
- }
log.Printf("Listening on %q", addr)
- log.Fatal(server.ListenAndServe())
+ log.Fatal(http.ListenAndServe(addr, nil))
}