fix return code

This commit is contained in:
unknown 2026-02-04 11:28:02 +03:00
parent 3216858346
commit eec8007e72

View File

@ -136,7 +136,7 @@ func NewHTTPReverseProxy(option HTTPReverseProxyOptions, vhostRouter *Routers) *
return return
} }
} }
rw.WriteHeader(http.StatusNotFound) rw.WriteHeader(http.StatusBadGateway)
_, _ = rw.Write(getNotFoundPageContent()) _, _ = rw.Write(getNotFoundPageContent())
}, },
} }