From e948091066e4893b1b823fc80db1c1ebba174b53 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 20 Nov 2018 18:55:56 +0100 Subject: Replaced old /api endpoint with ApiController --- config/routes.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/routes.php b/config/routes.php index 8322cb2f..b9e3646a 100644 --- a/config/routes.php +++ b/config/routes.php @@ -10,3 +10,6 @@ $route->get('/credits', 'CreditsController@index'); // Stats $route->get('/metrics', 'Metrics\\Controller@metrics'); $route->get('/stats', 'Metrics\\Controller@stats'); + +// API +$route->get('/api[/{resource:.+}]', 'ApiController@index'); -- cgit v1.2.3-54-g00ecf