You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(api-proxy): update code exmaple with explicit require (#21830)
* docs(api-proxy): update code exmaple with explicit require
http-proxy-middleware v1.0.0 introduces breaking change.
require/import of http-proxy-middleware is now explicit.
* docs(api-proxy): update code exmaples with explicit require
with comments that explains how to use the previous version
* chore: format
Co-authored-by: GatsbyJS Bot <mathews.kyle+gatsbybot@gmail.com>
Copy file name to clipboardexpand all lines: docs/docs/api-proxy.md
+11-4
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,16 @@ Keep in mind that `proxy` only has effect in development (with `gatsby develop`)
47
47
Sometimes you need more granular/flexible access to the development server. Gatsby exposes the [Express.js](https://expressjs.com/) development server to your site's `gatsby-config.js` where you can add Express middleware as needed.
0 commit comments