chore:替换成远程api

This commit is contained in:
Xwen
2023-12-14 14:47:18 +08:00
parent 6cc079aac7
commit e1211521ff
5 changed files with 43 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ const config = {
// 开发环境接口前缀
dev: import.meta.env.VITE_APP_BASEAPI,
// 打包生产环境接口前缀
pro: window.location.protocol + "//" + window.location.hostname + ":19001",
pro: import.meta.env.VITE_APP_BASEAPI,
},
/**