summaryrefslogtreecommitdiff
path: root/pages/api/cloudburst.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/cloudburst.php')
-rw-r--r--pages/api/cloudburst.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/api/cloudburst.php b/pages/api/cloudburst.php
new file mode 100644
index 0000000..2750a98
--- /dev/null
+++ b/pages/api/cloudburst.php
@@ -0,0 +1,6 @@
+<?php
+
+header("Content-Type: text/plain");
+
+$fronters = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/ynmuc/fronters.json"), true);
+echo($fronters['members'][0]['display_name'] ?? $fronters['members'][0]['name']); \ No newline at end of file