vue.config.js 359 Bytes
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: process.env.NODE_ENV === 'production' ? '/nvsdemo/' : '/',
  transpileDependencies: true,
  devServer: {
    port: 9091,
    proxy: {
      '/nvsthird/ptzcontrol': {
        target: 'http://52.130.155.147:8888',
        changeOrigin: true
      }
    }
  }
})