withRouting( web: __DIR__.'/../routes/web.php', api: __DIR__.'/../routes/api.php', commands: __DIR__.'/../routes/console.php', health: '/up', then: function () { Route::middleware('api') ->prefix('api/v0') ->name('api.v0.') ->group(base_path('routes/api_v0.php')); }, ) ->withMiddleware(function (Middleware $middleware) { $middleware->append(IPBanned::class); }) ->withExceptions(function (Exceptions $exceptions) { // })->create();