diff --git a/api/block/handle.go b/api/block/handle.go index 462b3b2..67bfcf5 100644 --- a/api/block/handle.go +++ b/api/block/handle.go @@ -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 }