mirror of
https://github.com/fatedier/frp.git
synced 2024-11-28 05:15:08 +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': ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|