summaryrefslogtreecommitdiff
path: root/api/v1/index.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-07-22 14:41:14 -0400
committerlolcat <will@lolcat.ca>2023-07-22 14:41:14 -0400
commitbca265aea67ec62499aaa113a6490ce9ec7fe730 (patch)
tree3f05ec5ea542e41b474947e180034f42e99648e9 /api/v1/index.php
still missing things on google scraper
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"
+ ]
+);