simplify setup process with WebUI

This commit is contained in:
yusing
2025-02-14 20:14:16 +08:00
parent 7047d37f70
commit 9f54f40f5a
21 changed files with 590 additions and 451 deletions

View File

@@ -130,7 +130,7 @@ func (s *Server) stop() {
return
}
ctx, cancel := context.WithTimeout(task.RootContext(), 3*time.Second)
ctx, cancel := context.WithTimeout(task.RootContext(), 5*time.Second)
defer cancel()
if s.http != nil && s.httpStarted {