修改接口

This commit is contained in:
2025-11-28 17:31:33 +08:00
parent b0b0a4061c
commit 37ab6a4b06
3 changed files with 306 additions and 61 deletions

View File

@@ -10,6 +10,15 @@ export default defineConfig({
vue(),
vueDevTools(),
],
server: {
proxy: {
'/api': {
target: 'https://ad.yunmainiu.com',
changeOrigin: true,
secure: false,
},
},
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))