fix-bug
This commit is contained in:
@@ -30,16 +30,14 @@ AppEnv.CAN_REQUEST = AppEnv.IS_LOGIN && AppEnv.IS_OFFICIAL
|
||||
|
||||
export const RESOURCE_PATH = ENV.API + 'static'
|
||||
|
||||
const BASE_URL = (import.meta as any).env?.BASE_URL || '/'
|
||||
|
||||
export const DICT_LIST = {
|
||||
WORD: {
|
||||
ALL: `${BASE_URL}list/word.json`,
|
||||
RECOMMENDED: `${BASE_URL}list/recommend_word.json`,
|
||||
ALL: `/list/word.json`,
|
||||
RECOMMENDED: `/list/recommend_word.json`,
|
||||
},
|
||||
ARTICLE: {
|
||||
ALL: `${BASE_URL}list/article.json`,
|
||||
RECOMMENDED: `${BASE_URL}list/article.json`,
|
||||
ALL: `/list/article.json`,
|
||||
RECOMMENDED: `/list/article.json`,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user