diff --git a/includes/redirections.php b/includes/redirections.php new file mode 100644 index 0000000..b54fbf8 --- /dev/null +++ b/includes/redirections.php @@ -0,0 +1,24 @@ +is_404 = false; + status_header(200); + + // header('Content-Type: text/html'); + // readfile($reactAppPath); + + include($reactAppPath); + } else { + // Gérer le cas où le fichier n'existe pas + echo "Page not found."; + status_header(404); + } + exit(); + } +});