Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Jan 28, 2018
1 parent 0d3be17 commit 93f9f42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,11 @@ You can easily integrate Axios with [Proxy Module](https://github.com/nuxt-commu
**Note:** It is not required to manually register `@nuxtjs/proxy` module.

**Note:** `/api/` will be added to all requests to the API end point. If you need to remove it use `pathRewrite`:

```js
{ '/api/': 'http://api.example.com', pathRewrite: { '^/api/', '' } }
proxy: {
'/api/': { target: 'http://api.example.com', pathRewrite: {'^/api/', ''} }
}
```

### `credentials`
Expand Down

0 comments on commit 93f9f42

Please sign in to comment.