Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mycpen committed Feb 8, 2025
1 parent e49bd4c commit 614d9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/uptimerobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function GetMonitors(apikey, days) {
custom_uptime_ranges: ranges.join('-'),
};

const response = await axios.post('https://cors.status.org.cn/uptimerobot/v2/getMonitors', postdata, { timeout: 10000 });
const response = await axios.post('https://api.uptimerobot.com/v2/getMonitors', postdata, { timeout: 10000 });
if (response.data.stat !== 'ok') throw response.data.error;
return response.data.monitors.map((monitor) => {

Expand Down

0 comments on commit 614d9fa

Please sign in to comment.