"production" ) ); $app->setName("siweather"); // Only invoked if mode is "production" $app->configureMode('production', function () use ($app) { $app->config(array( 'log.enable' => true, 'debug' => false )); }); // Only invoked if mode is "development" $app->configureMode('development', function () use ($app) { $app->config(array( 'log.enable' => false, 'debug' => true )); }); // $app->notFound(function () use ($app) { // $app->render('404.html'); // }); // $app->get("/stations", "stations"); $app->get("/stations", "stations"); $app->get("/stations/:uuid", function ($uuid){ echo "stations 123"; }); $app->run(); ?>