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

修改baseurl

parent 38cbed74
...@@ -34,8 +34,8 @@ var configjson = require("../../static/config.json") ...@@ -34,8 +34,8 @@ var configjson = require("../../static/config.json")
const Axios = axios.create({ const Axios = axios.create({
// baseURL: 'http:m.test.com', // 因为我本地做了反向代理 // baseURL: 'http:m.test.com', // 因为我本地做了反向代理
// baseURL: process.env.API_HOST, // baseURL: process.env.API_HOST,
// baseURL: "/", baseURL: "/",
baseURL:'http://122.226.244.210:8001/board/', // baseURL:'http://122.226.244.210:8001/board/',
timeout: 18000000, // 响应超时 timeout: 18000000, // 响应超时
responseType: 'json', responseType: 'json',
withCredentials: true, // 是否允许带cookie这些// 跨域 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