Skip to content

Commit

Permalink
update url
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreLeGuen committed Oct 12, 2023
1 parent 3ba2339 commit ab8cf5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1>NEAR transaction report</h1>
</div>

<script>
const TTA_URL = "http://127.0.0.1:3000";
const TTA_URL = "https://tta-api.onrender.com";

const handleDownloadClick = async () => {
const downloadButton = document.getElementById("downloadButton");
Expand Down Expand Up @@ -136,7 +136,7 @@ <h1>NEAR transaction report</h1>
}).then(([blob, contentDisposition]) => {
const url = window.URL.createObjectURL(blob);
let filename = "balances.csv";

const a = document.createElement("a");
a.href = url;
a.download = filename;
Expand Down

0 comments on commit ab8cf5f

Please sign in to comment.