const path = require('path') module.exports = { hostname: '0.0.0.0', port: 8080, // ๅๅ‘ไปฃ็† proxy: { '/api': { target: 'https://inapi.izhyin.cn/api', changeOrigin: true, rewrite: path => path.replace(/^\/api/, '') } } }