fix api address

This commit is contained in:
jxxghp
2023-06-30 15:48:23 +08:00
parent 27259d5862
commit 942f63345c
+1 -1
View File
@@ -4,7 +4,7 @@ import axios from 'axios'
// 创建axios实例 // 创建axios实例
const api = axios.create({ const api = axios.create({
baseURL: 'http://localhost:3001/api/v1/', baseURL: 'http://127.0.0.1:3001/api/v1/',
}) })
// 添加请求拦截器 // 添加请求拦截器