重构后端API和配置,新增仪表板数据接口并优化本地开发环境配置
This commit is contained in:
@@ -27,7 +27,7 @@ export default defineConfig({
|
||||
port: 3150,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'https://webapi.jiebanke.com',
|
||||
target: 'http://localhost:3200',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api/v1')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user