Skip to content

Commit

Permalink
merge master into dev (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 20, 2019
1 parent 932abc0 commit 109c326
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/helpers.md
Expand Up @@ -17,7 +17,7 @@ Example: (`plugins/axios.js`)
```js
export default function ({ $axios, redirect }) {
$axios.onError(error => {
if(error.code === 500) {
if(error.response.status === 500) {
redirect('/sorry')
}
})
Expand Down
2 changes: 2 additions & 0 deletions docs/options.md
Expand Up @@ -18,6 +18,8 @@ Base URL which is used and prepended to make requests in server side.

Environment variable `API_URL` can be used to **override** `baseURL`.

**Note:** `baseURL` and `proxy` doesn't work together, you need to use `prefix` instead.

### `browserBaseURL`

* Default: `baseURL` (or `prefix` when `options.proxy` is enabled)
Expand Down

0 comments on commit 109c326

Please sign in to comment.