mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Merge pull request #212 from marcelometal/patch-1
Fixed typo in README.md
This commit is contained in:
@@ -303,7 +303,7 @@ var instance = axios.create({
|
|||||||
baseURL: 'https://api.example.com'
|
baseURL: 'https://api.example.com'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Alter defaults after instace has been created
|
// Alter defaults after instance has been created
|
||||||
instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
|
instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user