Skip to content

Commit

Permalink
fix: report url
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Nov 11, 2023
1 parent 9e76136 commit 492fe73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/index/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function fetch_report() {
if (typeof _report_data != "object") {
_report_data = [];
}
fetch(`https://exptech.com.tw/api/v1/earthquake/reports?limit=50${(storage.getItem("show_reportInfo") ?? false) ? (storage.getItem("key") ?? false) ? `&key=${storage.getItem("key")}` : "" : ""}`, {
fetch(`https://data.exptech.com.tw/api/v1/eq/report?limit=50${(storage.getItem("show_reportInfo") ?? false) ? (storage.getItem("key") ?? false) ? `&key=${storage.getItem("key")}` : "" : ""}`, {
signal: controller.signal,
})
.then(async (ans) => {
Expand Down

0 comments on commit 492fe73

Please sign in to comment.