We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead7cfc commit b6ff302Copy full SHA for b6ff302
web/.env.development
@@ -0,0 +1,3 @@
1
+# 本地开发环境配置
2
+VITE_SHORT_BASE=http://localhost:8080
3
+VITE_API_BASE=http://localhost:8080
web/.env.production
92 Bytes
web/App.vue
@@ -226,7 +226,7 @@ import { SHORT_BASE } from '/src/composables/shortBase'
226
227
const API_BASE = (typeof window !== 'undefined' && window.location && window.location.origin)
228
? window.location.origin
229
- SHORT_BASE // 用于顶部"历史记录"跳转链接
+ : SHORT_BASE // 用于顶部"历史记录"跳转链接
230
// 使用全局 axios 实例(已在 useAuth 中配置拦截器)
231
const api = axios
232
0 commit comments