Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunath7472 authored Jan 11, 2025
1 parent 3d83a80 commit 4acb3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
document.getElementById('balance').opacity = 0;
async function fetchBalance() {
try {
const response = await fetch('http://localhost:7500/balance.txt');
const response = await fetch('balance.txt');
const balance = await response.text();
document.getElementById('balance').innerHTML = `${balance.trim()} ₹`;
} catch (error) {
Expand All @@ -115,4 +115,4 @@
fetchBalance();
</script>
</body>
</html>
</html>

0 comments on commit 4acb3ba

Please sign in to comment.