From 8fea6e4be4a61cd2bfcb310166fbe6b2541b9ff4 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Thu, 21 May 2026 20:45:15 +0800 Subject: video and blog --- www/scripts/blog.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'www/scripts/blog.js') diff --git a/www/scripts/blog.js b/www/scripts/blog.js index 0e8fa2f..5c5ad67 100644 --- a/www/scripts/blog.js +++ b/www/scripts/blog.js @@ -1,10 +1,8 @@ var evaluatedTags = ""; const clamp = (val, min, max) => Math.min(Math.max(val, min), max) -const api_url = "https://altafcreator.com" - function postList(n = 0) { - fetch(`${api_url}/api/blogs/`, { + fetch(`${API_URL}/blogs/`, { method: "POST", headers: { "Content-Type": "application/json", @@ -47,7 +45,7 @@ function postCard(post) {
${evaluatedTags}
-

${title}

+

${title}

${date}

-- cgit v1.2.3