Skip to content

Commit 5e5d975

Browse files
authored
docs: update extend.md (nuxt-community#388)
In this case, `redirect` is unnecessary.
1 parent e6fce7c commit 5e5d975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/extend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function ({ $axios, redirect }) {
3838
If you need to create your own axios instance which based on $axios defaults, you can use `create` method.
3939

4040
```js
41-
export default function ({ $axios, redirect }, inject) {
41+
export default function ({ $axios }, inject) {
4242
// Create a custom axios instance
4343
const api = $axios.create({
4444
headers: {

0 commit comments

Comments
 (0)