Commit 0b42e0e2 authored by WangXu's avatar WangXu

修改接口信息

parent 8f6b53a2
......@@ -11,8 +11,8 @@ import {
// 创建 axios 实例
const service = axios.create({
baseURL: 'http://106.2.13.200:8032', // api base_url
// baseURL: '/api/task/v1', // api base_url
// baseURL: 'http://106.2.13.200:8032', // api base_url
baseURL: '/api/task/v1', // api base_url
timeout: 6000 // 请求超时时间
});
......
......@@ -22,12 +22,12 @@ module.exports = {
}
},
*/
// publicPath: process.env.NODE_ENV === 'production'
// ? '/zx-task-manager'
// : '/',
publicPath: process.env.NODE_ENV === 'production'
? '/'
? '/zx-task-manager'
: '/',
// publicPath: process.env.NODE_ENV === 'production'
// ? '/'
// : '/',
configureWebpack: {
module: {
rules: [
......
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