diff options
Diffstat (limited to 'pages/api/schedule.php')
-rw-r--r-- | pages/api/schedule.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/api/schedule.php b/pages/api/schedule.php index 2c29bcb..7ae263c 100644 --- a/pages/api/schedule.php +++ b/pages/api/schedule.php @@ -11,6 +11,10 @@ $obj = [ "tomorrow" => [] ]; +if (time() >= 1686787200) { + die(json_encode($obj, JSON_PRETTY_PRINT)); +} + $raindrops = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/planner/gdapd.json"), true); $cloudburst = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/planner/ynmuc.json"), true); |