Route::view('/', 'welcome')->name('welcome');
Route::get("/page", function(){
return View::make("dir.page");
});
use IlluminateCacheRateLimitingLimit;
use IlluminateSupportFacadesRateLimiter;
/**
* Configure the rate limiters for the application.
*
* @return void
*/
protected function configureRateLimiting()
{
RateLimiter::for('global', function (Request $request) {
return Limit::perMinute(1000);
});
}