Search code examples
javascalaplayframeworkplayframework-2.2

remove route listing in playframework


Playframework displays a whole list of all available routes if you call a wrong route. that looks like that:

enter image description here

Is there a way to deactivate this listing?

Thanks in advance.


Solution

  • It does this only in the development mode, it's for easy debugging.

    In the production mode, the list would be empty.