Added check for a local development environment within the app_dev front controller