CORS Handling Bug

## Description

Anonymous function in `Routes.php` needs to `use ($app)`.