add the HTTP response

This commit is contained in:
Adrien PONSIN 2025-04-15 20:45:32 +02:00
parent 7011d71c03
commit 4f42235730
No known key found for this signature in database
GPG Key ID: 7B4D4A32C05C475E

View File

@ -179,6 +179,7 @@ func (ph *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
}
}
http.Error(w, http.StatusText(http.StatusForbidden), http.StatusForbidden)
return
}