This commit is contained in:
Mrx
2026-02-27 12:07:16 +08:00
parent 2df104acea
commit 9937097d7c
8 changed files with 247 additions and 69 deletions

View File

@@ -15,8 +15,8 @@ export default defineConfig({
strictPort: true, // 如果端口被占用则抛出错误而不是使用下一个可用端口
proxy: {
"/api/v1": {
// target: "http://127.0.0.1:8888", // 本地接口地址
target: "https://www.tianyuandb.com", // 本地接口地址
target: "http://127.0.0.1:8888", // 本地接口地址
// target: "https://www.tianyuandb.com", // 本地接口地址
changeOrigin: true,
},
},