Skip to content

Commit

Permalink
Update article.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devsdenepal authored Jan 12, 2024
1 parent 27250fc commit f2d829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit f2d829c

Please sign in to comment.