12345678910111213141516171819202122232425262728293031 |
- const { defineConfig } = require('@vue/cli-service')
- module.exports = defineConfig({
- transpileDependencies: true,
- lintOnSave:false,
- publicPath:"./",
- devServer:{
- https:true,
- proxy: {
- '/addressapi': {
- target: 'https://10.90.11.49:2000/',
- secure: false,
- ws:true,
- changeOrigin: true,
- pathRewrite: {
- '^/addressapi': ''
- }
- },
- '/api': {
- target: 'https://10.90.11.49:2002/data-business-prod/',
- // target: 'http://localhost:9250/',
- secure: false,
- ws:true,
- changeOrigin: true,
- pathRewrite: {
- '^/api': ''
- }
- }
- },
- },
- })
|