fix: call load-more endpoint without .php extension
This commit is contained in:
+1
-1
@@ -456,7 +456,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
button.disabled = true;
|
||||
|
||||
// Préparer l'URL avec les paramètres
|
||||
let url = `ajax/load-more-videos.php?type=${videoType}&page=${page}`;
|
||||
let url = `ajax/load-more-videos?type=${videoType}&page=${page}`;
|
||||
if (videoType === 'category' && categoryId) {
|
||||
url += `&category=${categoryId}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user