diff --git a/app.php b/app.php index 57bb74ff..c4c54df7 100644 --- a/app.php +++ b/app.php @@ -72,8 +72,8 @@ $appContainer = new \Slim\Container([ return 'GROCY-API-KEY'; } ]); - $app = new \Slim\App($appContainer); + // Load routes from separate file require_once __DIR__ . '/routes.php';