We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3be17 commit 93f9f42Copy full SHA for 93f9f42
README.md
@@ -336,8 +336,11 @@ You can easily integrate Axios with [Proxy Module](https://github.com/nuxt-commu
336
**Note:** It is not required to manually register `@nuxtjs/proxy` module.
337
338
**Note:** `/api/` will be added to all requests to the API end point. If you need to remove it use `pathRewrite`:
339
+
340
```js
-{ '/api/': 'http://api.example.com', pathRewrite: { '^/api/', '' } }
341
+proxy: {
342
+ '/api/': { target: 'http://api.example.com', pathRewrite: {'^/api/', ''} }
343
+}
344
```
345
346
### `credentials`
0 commit comments