mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
update utils
This commit is contained in:
1 parent
817cf8c40e
commit
c324bfcfee
4 files changed
+13
-11
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import axios from 'axios'
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: '/api/v1',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
withCredentials: true,
|
||||
})
|
||||
export default api
|
||||
Reference in new issue
Block a user