feat: use axios, extract api to another file

This commit is contained in:
wancat committed 2023-08-01 20:54:49 +08:00
1 parent a40e9eb3a9
commit 66cc1036b4
4 files changed
+59 -5

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import axios from 'axios'
const api = axios.create({
baseURL: 'https://odyssey.wancat.cc/api/v1',
})
export default api