mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
17 lines
271 B
JavaScript
17 lines
271 B
JavaScript
|
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': ''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|