Skip to content

Commit

Permalink
[skip ci] Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwite authored Oct 10, 2024
1 parent 19e37ae commit 79cc4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/web/src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ setLeagdoHttpUrl(ajax.defaults.baseURL);
*/
const testLeagdoHttpUrlConnection = async (http_url) => {
const { data = {} } = await ajax.get("/getReadConfig", {
baseURL: new URL(http_url).toString(),
baseURL: http_url,
timeout: 3000,
});
// 返回结果应该是JSON 并有键值isSuccess
Expand Down

0 comments on commit 79cc4f7

Please sign in to comment.