Skip to content

Commit 96d4ca3

Browse files
committed
fix: 修改前端SHORT_BASE默认值为生产环境IP
1 parent 9bd6225 commit 96d4ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/composables/shortBase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
export const SHORT_BASE = (
1+
????????export const SHORT_BASE = (
22
import.meta?.env?.VITE_SHORT_BASE
33
) || (
44
typeof window !== 'undefined' && window.location && window.location.origin
55
? window.location.origin
6-
: 'http://localhost:8080'
6+
: 'http://47.97.110.128'
77
)
88

99
export const API_BASE = import.meta?.env?.VITE_API_BASE || ''

0 commit comments

Comments
 (0)