frp/web/frps/vue.config.js

17 lines
271 B
JavaScript
Raw Normal View History

2020-12-03 20:20:48 +08:00
module.exports = {
publicPath: './',
devServer: {
host: '127.0.0.1',
port: 8010,
proxy: {
'/api/': {
target: 'http://127.0.0.1:8080/api',
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}
}
}
}