添加团课详细页
This commit is contained in:
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
proxy: {
|
||||
// 匹配所有 /api 开头的请求
|
||||
'/api': {
|
||||
target: 'http://localhost:8084', // 你的后端SpringBoot地址
|
||||
target: 'http://192.168.5.15:8084', // 你的后端SpringBoot地址
|
||||
changeOrigin: true, // 开启跨域伪装
|
||||
// rewrite: (path) => path.replace(/^\/areyouok/, '')
|
||||
// 举例:前端请求 /api/login → 代理成 http://localhost:8088/login
|
||||
|
||||
Reference in New Issue
Block a user