Actualiser index.php

Disallow POST due to 429
This commit is contained in:
cedric 2025-12-11 11:50:28 +00:00
parent 7f162fa616
commit 65f977918f

View file

@ -123,7 +123,8 @@ class RequestHandler
if ($method === 'GET') { if ($method === 'GET') {
$this->redirectGet($instance, $query); $this->redirectGet($instance, $query);
} elseif ($method === 'POST') { } elseif ($method === 'POST') {
$this->proxyPost($instance, $_POST); $this->redirectGet($instance, $query);
// $this->proxyPost($instance, $_POST);
} else { } else {
http_response_code(405); http_response_code(405);
exit('Méthode non autorisée'); exit('Méthode non autorisée');