diff options
Diffstat (limited to 'www/scripts')
| -rw-r--r-- | www/scripts/blog.js | 2 | ||||
| -rw-r--r-- | www/scripts/captcha.js | 2 |
2 files changed, 2 insertions, 2 deletions
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', |
