Skip to content

Commit

Permalink
fix: request cookie case is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkontoask committed Dec 22, 2020
1 parent 1bce6cf commit bcc0f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const http: AxiosInstance = Axios.create({

http.interceptors.request.use(
config => {
config.headers.Cookie = document.cookie
config.headers.cookie = document.cookie
return config
},
error => {
Expand Down

0 comments on commit bcc0f50

Please sign in to comment.