Skip to content

Commit

Permalink
update request.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjianzhang authored Dec 11, 2023
1 parent fe5ec20 commit d08daab
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

0 comments on commit d08daab

Please sign in to comment.