vue.config.js
547 Bytes
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
// publicPath: process.env.NODE_ENV === 'production' ? '/vion-player' : '/',
publicPath: "/",
outputDir: "vionPlayer",
transpileDependencies: true,
devServer: {
port: 9091,
proxy: {
'/nvsthird/ptzcontrol': {
target: 'http://52.130.155.147:8888',
changeOrigin: true
},
'/qxh': {
target: 'https://openapi.huian365.com',
changeOrigin: true,
pathRewrite: {
'^/qxh': '/'
}
},
}
}
})