hamza82 commited on
Commit
b3a1ec7
·
verified ·
1 Parent(s): 183f3c5

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <title>Static Web Page</title>
5
  <script>
6
  async function callApi() {
7
- const response = await fetch('http://localhost:8000/api');
8
  const data = await response.json();
9
  document.getElementById('apiResponse').textContent = data.message;
10
  }
 
4
  <title>Static Web Page</title>
5
  <script>
6
  async function callApi() {
7
+ const response = await fetch('https://hamza82-test.hf.space/api');
8
  const data = await response.json();
9
  document.getElementById('apiResponse').textContent = data.message;
10
  }