优化
This commit is contained in:
@@ -4,7 +4,7 @@ let selectedApiRoot = ''
|
||||
selectedApiRoot = import.meta.env?.VITE_API_BASE_URL || ''
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
selectedApiRoot = import.meta.env?.VITE_H5_API_BASE_URL || '/api'
|
||||
selectedApiRoot = import.meta.env?.VITE_H5_API_BASE_URL || '/gateway-api'
|
||||
// #endif
|
||||
export const API_ROOT = String(selectedApiRoot).replace(/\/$/, '')
|
||||
export const DEV_LOGIN = Object.freeze({
|
||||
|
||||
Reference in New Issue
Block a user