change error status
This commit is contained in:
@@ -40,7 +40,7 @@ func Route(config *config.Config) func(chi.Router) {
|
||||
|
||||
func (h *blockHandler) handleBlock(w http.ResponseWriter, r *http.Request) {
|
||||
if !h.cfg.Server.BlockConfig.Enabled {
|
||||
http.Error(w, "Block serving is disabled", http.StatusNotImplemented)
|
||||
http.Error(w, "Block serving is disabled", http.StatusForbidden)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user