Create an route outside Collection

System Information
  • Strapi Version: 4
  • Operating System: Windows 10
  • Database: postgresql
  • Node Version: 16.15.1
  • NPM Version: 8.11.0

Hi I need to create many routes for personnal use.

I need to create the route /restart-connection

And when the route is called I execute some code, but I don’t want it to appear in the routes of my collections

Thanks