Update index.html
Browse files- index.html +3 -2
index.html
CHANGED
|
@@ -57,12 +57,13 @@
|
|
| 57 |
valueElement.innerHTML = '';
|
| 58 |
|
| 59 |
try {
|
| 60 |
-
const response = await fetch('https://ginipick-Dokdo-pay.hf.space/add_points_and_refresh_fn', {
|
| 61 |
method: 'POST',
|
| 62 |
headers: {
|
| 63 |
'Content-Type': 'application/json',
|
| 64 |
},
|
| 65 |
-
body: JSON.stringify({
|
|
|
|
| 66 |
});
|
| 67 |
|
| 68 |
if (!response.ok) {
|
|
|
|
| 57 |
valueElement.innerHTML = '';
|
| 58 |
|
| 59 |
try {
|
| 60 |
+
const response = await fetch('https://ginipick-Dokdo-pay.hf.space/api/add_points_and_refresh_fn', {
|
| 61 |
method: 'POST',
|
| 62 |
headers: {
|
| 63 |
'Content-Type': 'application/json',
|
| 64 |
},
|
| 65 |
+
body: JSON.stringify({
|
| 66 |
+
email: email
|
| 67 |
});
|
| 68 |
|
| 69 |
if (!response.ok) {
|