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
How do I add more than one proxy. In the documentation, only one way is shown: "proxy": "http://localhost:4000"
But I need add a few patterns for my proxy like: "proxy": { "/api/*": "http://localhost:4000", "/forms/*": "http://localhost:4000", "/content/*": "http://localhost:4000" }
I would normally write this like so in my webpack.config file but this isn't working: devServer: { proxy: { "/api/*": "http://localhost:4000", "/forms/*": "http://localhost:4000", "/content/*": "http://localhost:4000" } }
The text was updated successfully, but these errors were encountered:
How do I add more than one proxy. In the documentation, only one way is shown:
"proxy": "http://localhost:4000"
But I need add a few patterns for my proxy like:
"proxy": { "/api/*": "http://localhost:4000", "/forms/*": "http://localhost:4000", "/content/*": "http://localhost:4000" }
I would normally write this like so in my webpack.config file but this isn't working:
devServer: { proxy: { "/api/*": "http://localhost:4000", "/forms/*": "http://localhost:4000", "/content/*": "http://localhost:4000" } }
The text was updated successfully, but these errors were encountered: