diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/web.php b/routes/web.php index 7c1f90e..8fb9090 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,7 +14,7 @@ Route::get('/', function () { }); Auth::routes(); -Route::group(['middleware' => ['auth']], function () { +Route::middleware('auth', 'throttle:30,1')->group(function () { Route::get('profile', 'UserController@Profile'); Route::get('avatar/{user_id}', 'ImageController@getAvatar'); Route::get('/', ['as' => 'writeMessage', 'uses' => 'SocketController@writeMessage']); |