Commit 2080d1d5 authored by 前端-许佳敏's avatar 前端-许佳敏

修改构建脚本

parent 53c8197d
......@@ -3,6 +3,7 @@
"scripts": {
"api": "god-ytt",
"scripts:build": "node scripts/run",
"scripts:build-yxc": "node scripts/run http://yxc-web-demo.shushangyun.com/api",
"start:dev": "umi dev",
"start:analyze": "ANALYZE=1 umi dev",
"clean": "rimraf node_modules",
......
......@@ -11,8 +11,10 @@ const demoFetch = require('../../demo').fetchConfig
const isDemo = true
const remoteUrl = process.argv[2] || 'http://10.0.0.25:8100'
const axios = Axios.create({
baseURL: 'http://10.0.0.25:8100',
baseURL: remoteUrl,
responseType: 'json',
})
......
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