Skip to content

Commit 109c326

Browse files
authored
merge master into dev (#219)
1 parent 932abc0 commit 109c326

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Example: (`plugins/axios.js`)
1717
```js
1818
export default function ({ $axios, redirect }) {
1919
$axios.onError(error => {
20-
if(error.code === 500) {
20+
if(error.response.status === 500) {
2121
redirect('/sorry')
2222
}
2323
})

docs/options.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Base URL which is used and prepended to make requests in server side.
1818

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

21+
**Note:** `baseURL` and `proxy` doesn't work together, you need to use `prefix` instead.
22+
2123
### `browserBaseURL`
2224

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

0 commit comments

Comments
 (0)