Routes in app.php not working in 8.5.1?

Permalink
Hi

I am getting an x-frame-options related error on a 8.5.1 installation with MariaDB when trying to access a route that is registered in the app.php file.

The exact same route is registered in a 8.4.4 installation with mySQL and works just fine.

Both of these installations are on the same server and run PHP 7.2

Does anyone have any idea why this would happen?

This is not working on 8.5.1 but working on 8.4.4
Route::register('/addOrder', function() {
 echo 'This is a contrived example.';
});


I created a work around on the 8.5.1 install by using the page type controller instead.

Did something change in 8.5.1 in terms of routes?

shotrox