🚀 dashboard v0.13.30

This commit is contained in:
naiba committed 2022-06-22 12:53:21 +08:00
1 parent c56de09fd2
commit f15bd9c6dd
4 files changed
+6 -5

No files matched your search

+3 -2
View File
@@ -44,8 +44,9 @@ func ServeWeb(port uint) *http.Server {
r.NoMethod(page404)
srv := &http.Server{
Addr: fmt.Sprintf(":%d", port),
Handler: r,
Addr: fmt.Sprintf(":%d", port),
ReadHeaderTimeout: time.Second * 5,
Handler: r,
}
return srv
}