From 6c432c517fdc7bc7ff93dd24dea3dfd9e23aa78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sun, 26 Jul 2026 19:46:16 +0400 Subject: [PATCH] fix: call load-more endpoint without .php extension --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index c1de33d..af8cfb3 100644 --- a/js/main.js +++ b/js/main.js @@ -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}`; }