Skip to content

Commit

Permalink
test: sharing cookies among different sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkontoask committed Dec 22, 2020
1 parent 2910e6a commit 74496c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const http: AxiosInstance = Axios.create({

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

0 comments on commit 74496c7

Please sign in to comment.