diff --git a/app/classes/ReleaseInsights/Request.php b/app/classes/ReleaseInsights/Request.php index b924225..79d524f 100644 --- a/app/classes/ReleaseInsights/Request.php +++ b/app/classes/ReleaseInsights/Request.php @@ -65,6 +65,7 @@ public function getController(): string '/about/' => 'about', '/nightly/' => 'nightly', '/release/' => 'release', + '/api/external/' => 'api/external', '/api/nightly/' => 'api/nightly', '/api/release/schedule/' => 'api/release_schedule', '/api/esr/releases/' => 'api/esr_releases', diff --git a/app/controllers/api/external.php b/app/controllers/api/external.php new file mode 100644 index 0000000..bff2801 --- /dev/null +++ b/app/controllers/api/external.php @@ -0,0 +1,7 @@ +api/nightly/?date={$yesterday}