You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 vuotta sitten
4 vuotta sitten
123456789101112131415161718192021222324
  1. module.exports = {
  2. lintOnSave: true,
  3. productionSourceMap: false,
  4. configureWebpack: {
  5. devtool: "source-map"
  6. },
  7. devServer: {
  8. disableHostCheck: true,
  9. compress: true,
  10. // 端口配置
  11. port: 6258,
  12. // 反向代理配置
  13. proxy: {
  14. "/api": {
  15. target: "https://aicpapitest.xhkjedu.com",
  16. changeOrigin: true,
  17. ws: true,
  18. pathRewrite: {
  19. "^/api": "/"
  20. }
  21. }
  22. }
  23. }
  24. };