secure() && in_array(App::environment(), ['stage', 'production'])) return redirect()->secure($request->getRequestUri()); return $next($request); } }