update utils

This commit is contained in:
Chen, Tai-Lin committed 2024-03-04 23:34:06 +08:00
1 parent 817cf8c40e
commit c324bfcfee
4 files changed
+13 -11

No files matched your search

+10
View File
@@ -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