Merge branch 'refs/heads/master' into dev
# Conflicts: # components.d.ts # src/pages/word/Statistics.vue
This commit is contained in:
@@ -28,14 +28,16 @@ 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: '/list/word.json',
|
||||
RECOMMENDED: '/list/recommend_word.json',
|
||||
ALL: `${BASE_URL}list/word.json`,
|
||||
RECOMMENDED: `${BASE_URL}list/recommend_word.json`,
|
||||
},
|
||||
ARTICLE: {
|
||||
ALL: '/list/article.json',
|
||||
RECOMMENDED: '/list/article.json',
|
||||
ALL: `${BASE_URL}list/article.json`,
|
||||
RECOMMENDED: `${BASE_URL}list/article.json`,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user