From f2d829c706a07e16fb8382bce12d2d7f24110a61 Mon Sep 17 00:00:00 2001 From: "Dev. Gautam Kumar" <111997815+devsdenepal@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:32:30 +0545 Subject: [PATCH] Update article.js --- assets/js/article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/article.js b/assets/js/article.js index 69a7fe8..38225e5 100644 --- a/assets/js/article.js +++ b/assets/js/article.js @@ -3,7 +3,7 @@ const sub_url = urlParams.get('view'); const final_url = '/article.html?view='+sub_url; function bring_post(post_url) { var xhr = new XMLHttpRequest(); - var url = "./data/json/post.json"; // Replace with your API endpoint + var url = "./data/json/post.json"; xhr.open("GET", url, true); xhr.responseType = "json"; xhr.onload = function () {