Skip to content

Commit

Permalink
Export defaultFetchHandler
Browse files Browse the repository at this point in the history
To allow reverting to it when a custom handler is not longer needed
  • Loading branch information
arcangelini authored Dec 6, 2023
1 parent efa4b01 commit f603056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api-fetch/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function apiFetch( options ) {

apiFetch.use = registerMiddleware;
apiFetch.setFetchHandler = setFetchHandler;
apiFetch.defaultFetchHandler = defaultFetchHandler;

apiFetch.createNonceMiddleware = createNonceMiddleware;
apiFetch.createPreloadingMiddleware = createPreloadingMiddleware;
Expand Down

0 comments on commit f603056

Please sign in to comment.