containers without port mapped will no longer be served

This commit is contained in:
yusing
2024-10-01 17:18:17 +08:00
parent 44cfd65f6c
commit c3b779a810
11 changed files with 50 additions and 48 deletions

View File

@@ -48,9 +48,7 @@ func (rp *ReverseProxyEntry) IsDocker() bool {
}
func ValidateEntry(m *M.RawEntry) (any, E.NestedError) {
if !m.FillMissingFields() {
return nil, E.Missing("fields")
}
m.FillMissingFields()
scheme, err := T.NewScheme(m.Scheme)
if err.HasError() {