mirror of
https://github.com/fatedier/frp.git
synced 2024-12-12 09:41:19 +01: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': ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|