aboutsummaryrefslogtreecommitdiffstats
path: root/api/v1/index.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-08-11 01:55:15 +0000
committerlolcat <will@lolcat.ca>2025-08-11 01:55:15 +0000
commitcdf958d29333d448f4521f4d2faa2592b58e9b27 (patch)
tree528f2a0ffa789a6f4279d9f54a4a2aaf391f390f /api/v1/index.php
downloadshittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.tar.gz
shittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.tar.bz2
shittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.zip
fix wikipedia crashgrafted
Diffstat (limited to 'api/v1/index.php')
-rw-r--r--api/v1/index.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/v1/index.php b/api/v1/index.php
new file mode 100644
index 0000000..dae86ab
--- /dev/null
+++ b/api/v1/index.php
@@ -0,0 +1,10 @@
+<?php
+
+header("Content-Type: application/json");
+http_response_code(404);
+
+echo json_encode(
+ [
+ "status" => "Unknown endpoint"
+ ]
+);