fix: call load-more endpoint without .php extension

This commit is contained in:
2026-07-26 19:46:16 +04:00
parent 090663dc3b
commit 6c432c517f
+1 -1
View File
@@ -456,7 +456,7 @@ document.addEventListener('DOMContentLoaded', function() {
button.disabled = true; button.disabled = true;
// Préparer l'URL avec les paramètres // 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) { if (videoType === 'category' && categoryId) {
url += `&category=${categoryId}`; url += `&category=${categoryId}`;
} }