development server supports proxying mcp, avatar and transaction image requests

This commit is contained in:
MaysWind
2025-12-02 23:46:33 +08:00
parent 79842d9171
commit a5320cf929
+12
View File
@@ -298,6 +298,18 @@ export default defineConfig(() => {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/mcp': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/avatar': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/pictures': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/qrcode': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true