Skip to content

Commit

Permalink
fix cors error bug for counts (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
alidevjimmy authored Dec 19, 2024
1 parent e330624 commit 6d9565d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
>
</div>
<p class="mt-4">
Pactus' SSPoS consensus, verified with TLA+, ensures security and decentralization
Pactus' SSPoS consensus, verified with TLA+, ensures security and decentralization
through dynamic, fault-tolerant validator committees, eliminating delegation.
</p>
</div>
Expand Down Expand Up @@ -1106,11 +1106,6 @@ <h6 class="font-medium text-sm mt-2">
url: "https://api.pacviewer.com/v1/counts",
method: "GET",
dataType: "json",
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET",
"Access-Control-Allow-Headers": "Content-Type",
},
success: function (data) {
const currentTime = new Date().getTime();
const storeData = {
Expand Down

0 comments on commit 6d9565d

Please sign in to comment.