Commit 330ad1e6 authored by 吴驭时's avatar 吴驭时

修改baseurl

parent 38cbed74
......@@ -34,8 +34,8 @@ var configjson = require("../../static/config.json")
const Axios = axios.create({
// baseURL: 'http:m.test.com', // 因为我本地做了反向代理
// baseURL: process.env.API_HOST,
// baseURL: "/",
baseURL:'http://122.226.244.210:8001/board/',
baseURL: "/",
// baseURL:'http://122.226.244.210:8001/board/',
timeout: 18000000, // 响应超时
responseType: 'json',
withCredentials: true, // 是否允许带cookie这些// 跨域
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment