Developer middleware
In order to aid your development, you can add a middleware to your blitz.config.js
that will throw a warning in the console whenever you access an endpoint that is not protected by blitz guard.
NOTE: Only enabled in development
If you don't want to be warned about certain api routes, you can pass an array of excluded routes.