vue.config.js
648 Bytes
// module.exports = {
// publicPath: './h5',
// devServer: {
// port:"8001",
// proxy: {
// '/api': {
// target: 'http://dz64qt.natappfree.cc',
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// "^/api": ""
// }
// }
// }
// },
// }
// manifest.json配置
// "devServer": {
// "port": 8001,
// "disableHostCheck": true,
// "proxy": {
// "/api": {
// "target": "http://192.168.0.34:8001",
// "changeOrigin": true,
// "secure": true,
// "pathRewrite": {
// "^/api": ""
// }
// }
// },
// "https": false
// }