summaryrefslogtreecommitdiff
path: root/www/scripts/captcha.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-05-21 20:45:15 +0800
committeraltaf-creator <dev@altafcreator.com>2026-05-21 20:45:15 +0800
commit8fea6e4be4a61cd2bfcb310166fbe6b2541b9ff4 (patch)
tree3e144c0033200ef792b6e4284ac2789d77b18ccb /www/scripts/captcha.js
parent39c92cd0c75193465ddc7b96e9d8bbe23dff795c (diff)
video and blog
Diffstat (limited to 'www/scripts/captcha.js')
-rw-r--r--www/scripts/captcha.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/scripts/captcha.js b/www/scripts/captcha.js
index 3ef5334..9ddc513 100644
--- a/www/scripts/captcha.js
+++ b/www/scripts/captcha.js
@@ -1,7 +1,7 @@
const emailUl = document.getElementById("email-list")
async function emailTurnstileSuccess(token) {
- const response = await fetch("https://altafcreator.com/api/email/", {
+ const response = await fetch(`${API_URL}/email/`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',