Skip to content

Commit

Permalink
fix(request.ts): baseUrl错误
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Dec 10, 2021
1 parent 9494edf commit 36a1346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface RequestOptions {
const UNKNOWN_ERROR = '未知错误,请重试';

/** 真实请求的路径前缀 */
const baseApiUrl = process.env.VUE_APP_BASE_API;
const baseApiUrl = process.env.VUE_APP_API_URL;
/** mock请求路径前缀 */
const baseMockUrl = process.env.VUE_APP_MOCK_API;

Expand Down

0 comments on commit 36a1346

Please sign in to comment.