mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 02:09:01 +02:00
fixed idlewatcher panics and incorrect behavior, update screenshot
This commit is contained in:
@@ -135,8 +135,8 @@ func (r *HTTPRoute) Start() E.NestedError {
|
||||
}
|
||||
}
|
||||
|
||||
if r.entry.URL.Port() == "0" ||
|
||||
r.entry.IsDocker() && !r.entry.ContainerRunning {
|
||||
if !r.entry.UseIdleWatcher() && (r.entry.URL.Port() == "0" ||
|
||||
r.entry.IsDocker() && !r.entry.ContainerRunning) {
|
||||
// TODO: if it use idlewatcher, set mux to dummy mux
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user