diff options
Diffstat (limited to 'pages/api.inc')
-rw-r--r-- | pages/api.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/api.inc b/pages/api.inc index f71ac10..5c13bac 100644 --- a/pages/api.inc +++ b/pages/api.inc @@ -12,6 +12,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/pages/api/" . $toplevel . ".php")) require_once $_SERVER['DOCUMENT_ROOT'] . "/pages/api/" . $toplevel . ".php"; } else { header("HTTP/1.1 500 Internal Server Error"); + header("Content-Type: text/plain"); echo("Endpoint not found"); die(); }
\ No newline at end of file |