添加站点

parent 9be19128
/* /*
* @Author: ninglupeng * @Author: ninglupeng
* @Date: 2022-03-17 15:06:50 * @Date: 2022-03-17 15:06:50
* @LastEditors: ninglupeng * @LastEditors: wsq
* @LastEditTime: 2022-03-22 16:47:57 * @LastEditTime: 2022-04-16 17:02:05
* @Description: * @Description:
*/ */
const path = require('path'); const path = require('path');
...@@ -61,8 +61,10 @@ module.exports = { ...@@ -61,8 +61,10 @@ module.exports = {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.18.166:8048', //target: 'http://flowtone.suvalue.com/',
// target: 'http://flowtone.suvalue.com/', //target: 'http://flowtone2.suvalue.com/',
target: 'http://flowtone6.suvalue.com/',
//target:'http://192.168.18.166:8048/',//测试
ws: true, //如果要代理 websockets,配置这个参数 ws: true, //如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数 // secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, changeOrigin: true,
......
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