Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- 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('
|
| 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 |
}
|