Skip to content

Commit

Permalink
Update logs uptime data source (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk authored Apr 2, 2024
1 parent 01ea1da commit fc90984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function handleTableUpdate() {
const googLogsURL = "https://www.gstatic.com/ct/log_list/v3/all_logs_list.json";
// get latest logs from apple
const appleLogsURL = "https://valid.apple.com/ct/log_list/current_log_list.json";
const uptimesURL = "https://www.gstatic.com/ct/compliance/uptime.csv";
const uptimesURL = "https://www.gstatic.com/ct/compliance/min_uptime.csv";

try {
Promise.all([googLogsURL, appleLogsURL, uptimesURL].map(url =>
Expand Down Expand Up @@ -167,7 +167,7 @@ function handleTableUpdate() {
<td>
${log.temporal_interval ? log.temporal_interval.end_exclusive.split("T")[0] : ""}
</td>
<td class='uptime'>${log.uptime}</td>
<td class='uptime'>${log.uptime ? log.uptime : ""}</td>
</tr>
`;
return markup;
Expand Down

0 comments on commit fc90984

Please sign in to comment.