Commit 7a984fbe authored by 前端-许佳敏's avatar 前端-许佳敏

修改构建脚本

parent f1661871
......@@ -19,8 +19,11 @@ const demoFetch = require('../../demo').fetchConfig
const isDemo = true
const SITE_ID = Number(process.env.SITE_ID)
const BACK_GATEWAY = process.env.BACK_GATEWAY
const remoteUrl = process.argv[2] || 'http://10.0.0.25:8100'
const remoteUrl = BACK_GATEWAY || process.argv[2] || 'http://10.0.0.25:8100'
console.log(`\n当前访问的后端url是${remoteUrl}!!!!!!`)
const axios = Axios.create({
baseURL: remoteUrl,
......
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