fix(frontend): uniapp devServer 代理指向 Swoole 20199;精简 admin 启动文案
- vue.config.js: /api、/uploads、/statics 的 proxy target 改为 http://127.0.0.1:20199,与本地 API 一致 - admin start.js: 去掉 CRMEB 外链提示,保留简短欢迎语 Made-with: Cursor
This commit is contained in:
@@ -4,15 +4,15 @@ module.exports = {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1',
|
||||
target: 'http://127.0.0.1:20199',
|
||||
changeOrigin: true
|
||||
},
|
||||
'/uploads': {
|
||||
target: 'http://127.0.0.1',
|
||||
target: 'http://127.0.0.1:20199',
|
||||
changeOrigin: true
|
||||
},
|
||||
'/statics': {
|
||||
target: 'http://127.0.0.1',
|
||||
target: 'http://127.0.0.1:20199',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user