From ba79525cc20783a7ab2f095e65400786f1850f0f Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 17 May 2026 13:10:15 +0800 Subject: change backend url --- www/scripts/blog.js | 2 +- www/scripts/captcha.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/scripts/blog.js b/www/scripts/blog.js index 767d1f0..f49c5ca 100644 --- a/www/scripts/blog.js +++ b/www/scripts/blog.js @@ -1,7 +1,7 @@ var evaluatedTags = ""; const clamp = (val, min, max) => Math.min(Math.max(val, min), max) -const api_url = "https://backend.altafcreator.com" +const api_url = "https://altafcreator.com" function postList(n = 0) { fetch(`${api_url}/api/blogs/`) diff --git a/www/scripts/captcha.js b/www/scripts/captcha.js index 38fc11c..3ef5334 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://backend.altafcreator.com/api/email/", { + const response = await fetch("https://altafcreator.com/api/email/", { method: 'POST', headers: { 'Content-Type': 'application/json', -- cgit v1.2.3