From 75adb031897ab2a2b66051e1acb186bfdff6a4a4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 9 Jul 2018 19:57:19 +0200 Subject: Better API --- routes/web.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'routes/web.php') diff --git a/routes/web.php b/routes/web.php index c0c8f47..0b980a1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,10 +15,7 @@ Route::middleware('auth', 'throttle:30') // throttle to 30 per minute Route::get('/', ['as' => 'writeMessage', 'uses' => 'SocketController@writeMessage']); Route::get('avatar/{user_id}', 'ImageController@getAvatar'); Route::get('profile', 'UserController@Profile'); - Route::get('keys/cookie/public/', 'PublicKeyController@setUsersKeyByCookie'); // actually it's a post but it has to be get (via cookie) => TODO: - Route::get('keys/public/{user_id}', 'PublicKeyController@getUsersKey'); Route::post('avatar', 'UserController@updateAvatar'); - Route::post('keys/public', 'PublicKeyController@setUsersKey'); Route::post('sendMessage', 'SocketController@sendMessage'); }); -- cgit v1.2.3