Skip to content

Commit

Permalink
🐛 fixed headers name into axios instance
Browse files Browse the repository at this point in the history
  • Loading branch information
booscaaa committed Jan 26, 2022
1 parent 0caad35 commit 8328acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ import axios from 'axios'

const axiosInstace = axios.create({
baseURL: process.env.VUE_APP_API_BASE_URL,
hearder: {
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
Access: 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion templates/default/axios.embed
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios'

const axiosInstace = axios.create({
baseURL: process.env.VUE_APP_API_BASE_URL,
hearder: {
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
Access: 'application/json',
Expand Down

0 comments on commit 8328acb

Please sign in to comment.