Skip to content

Commit

Permalink
Modify search ip interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleMoonlight committed Oct 3, 2024
1 parent 1cc114d commit 3fa51a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/weather.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function generateRequestParamsString(params) {
}

export async function getCurrentLocationAsync() {
let getIPUrl = 'https://whois.pconline.com.cn/ipJson.jsp';
let getIPUrl = 'https://ipinfo.io/json';
let callbackName = 'jsonpCallback_getIP';
let ipRes = '';
let locationRes = null;
Expand Down

0 comments on commit 3fa51a6

Please sign in to comment.