Skip to content

Commit

Permalink
Update request.js
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Akiraka authored Nov 16, 2023
1 parent 930df09 commit fe5ec20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getToken } from '@/utils/auth'

// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
baseUrl: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
timeout: 10000 // request timeout
})
Expand Down

1 comment on commit fe5ec20

@DreamerLWJ
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

麻烦把这个更改复原一下

Please sign in to comment.