mirror of
https://github.com/fatedier/frp.git
synced 2026-03-24 09:08:13 +08:00
some dashboard refactor (#2101)
This commit is contained in:
16
web/frps/vue.config.js
Normal file
16
web/frps/vue.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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': ''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user