fix api baseurl

This commit is contained in:
jxxghp
2023-06-30 16:03:05 +08:00
parent 942f63345c
commit e74aab174c

View File

@@ -4,7 +4,7 @@ import axios from 'axios'
// 创建axios实例
const api = axios.create({
baseURL: 'http://127.0.0.1:3001/api/v1/',
baseURL: 'api/v1/',
})
// 添加请求拦截器