mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
🚀 dashboard v0.13.30
This commit is contained in:
1 parent
7262e01086
commit
be78e8a92f
4 files changed
+6
-5
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user