Commit 9887a74a authored by 前端-许佳敏's avatar 前端-许佳敏

修改构建脚本

parent 07d9b2f1
......@@ -17,8 +17,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}!!!!!!`)
if (!SITE_ID) {
console.log('\n构建失败!!!!!!')
......
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