vue.config.js 430 B

1234567891011121314151617181920
  1. const { defineConfig } = require("@vue/cli-service");
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. lintOnSave: false,
  5. devServer: {
  6. port: 9955,
  7. open: true,
  8. proxy: {
  9. "/api": {
  10. // target: "http://localhost:911",
  11. target: "http://47.114.150.226:88",
  12. changeOrigin: true,
  13. pathRewrite: {
  14. "^/api": "",
  15. },
  16. ws: false,
  17. },
  18. },
  19. },
  20. });