From 5b7dba97a0de66ab4e93a0dc384c24fe5dbbf5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Wed, 17 Apr 2024 17:27:31 +0200 Subject: [PATCH] I'M A TEAPOT (no fix affichage) --- src/API/src/response.php | 2 +- src/js/AJAX/home.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/API/src/response.php b/src/API/src/response.php index a886a02..733ed64 100644 --- a/src/API/src/response.php +++ b/src/API/src/response.php @@ -73,6 +73,6 @@ class Response header('Cache-control: no-store, no-cache, must-revalidate'); header('Pragma: no-cache'); http_response_code(418); - echo json_encode($data); + echo json_encode($data); // I'm a teapot } } \ No newline at end of file diff --git a/src/js/AJAX/home.js b/src/js/AJAX/home.js index b67568f..2ce4fb1 100644 --- a/src/js/AJAX/home.js +++ b/src/js/AJAX/home.js @@ -45,7 +45,7 @@ function displayHomeTopBar() { - + `; @@ -70,7 +70,7 @@ function displayHomeTopBar() { - + `;