This commit is contained in:
2025-11-04 20:50:06 +08:00
parent 0dd62ce942
commit a0503d575e
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
export const my_network_func = {
}
+8
View File
@@ -10,5 +10,13 @@ export default mergeConfig(
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:8080',
changeOrigin: true,
},
},
},
}),
)