Newer
Older
laserPTZFront / config / dev.env.js
[wangxitong] on 16 May 2022 538 bytes 报警推送,样式修改
'use strict'
//引入webpack的merge插件,用来合并对象,也就是配置文件用的,相同的选项会被覆盖
const merge = require('webpack-merge')
//导入prod.env.js配置文件
const prodEnv = require('./prod.env')
// 将两个配置对象合并,最终结果是 NODE_ENV:‘"development"'
module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  // BASE_API: '"http://111.198.10.15:12210/pan-tilt/"'
  BASE_API: '"http://127.0.0.1:8080/pan-tilt/"',
  BASE_WS: '"ws://127.0.0.1:8080/pan-tilt/websocket/2"'
})