move to micro v4 #154

Merged
vtolstov merged 95 commits from v4 into master 2023-04-28 22:00:03 +03:00
Showing only changes of commit 6a30a4f408 - Show all commits

View File

@ -453,12 +453,12 @@ func (h *httpServer) Start() error {
switch {
case handler == nil && h.hd == nil:
handler = h
case len(h.handlers) > 0 && h.hd != nil:
handler = h
case handler == nil && h.hd != nil:
if hdlr, ok := h.hd.Handler().(http.Handler); ok {
handler = hdlr
}
case len(h.handlers) > 0 && h.hd != nil:
handler = h
}
if handler == nil {