Merge commit '52c4d1f' into feat/remote-node

# Conflicts:
#	internal/db/db.go
This commit is contained in:
2026-11-03 23:00:20 -08:00
26 changed files with 1414 additions and 78 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ func New(kdb *db.KnoxDB) *Server {
func (s *Server) Serve(addr string) error {
log.Printf("[knox] web UI at http://%s", addr)
return http.ListenAndServe(addr, s.mux)
srv := &http.Server{Addr: addr, Handler: s.mux, ReadHeaderTimeout: 10 * time.Second, IdleTimeout: 60 * time.Second}
return srv.ListenAndServe()
}
// ─── Dashboard ───────────────────────────────────────────────