将基础URL从本地开发环境'http://localhost:3000/'修改为生产服务器地址'http://8.130.126.103:3000/',以便在部署后能正确访问后端API服务。
@@ -14,7 +14,7 @@ import axios from 'axios'
let token = ''
const baseServer = axios.create({
- baseURL: 'http://localhost:3000/',
+ baseURL: 'http://8.130.126.103:3000/',
headers: {
Authorization: `Bearer ${token}`,
},