From 5f8f6fd2ab330ce8d86288b81abcac99154843dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Fri, 11 Feb 2022 17:18:13 +0900 Subject: [PATCH] =?UTF-8?q?any=E2=86=92get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/web.php | 62 +++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/routes/web.php b/routes/web.php index fe7ecd7..e935656 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2,66 +2,66 @@ use Illuminate\Support\Facades\Route; -Route::any('/', 'Peertube\Home@index'); -Route::any('/home', 'Peertube\Home@index'); +Route::get('/', 'Peertube\Home@index'); +Route::get('/home', 'Peertube\Home@index'); -Route::any('/a/{id}/{cat?}/{page?}', 'Peertube\Account@index'); -Route::any('/c/{id}/{cat?}/{page?}', 'Peertube\Channel@index'); -Route::any('/w/{id}', 'Peertube\Watch@index'); +Route::get('/a/{id}/{cat?}/{page?}', 'Peertube\Account@index'); +Route::get('/c/{id}/{cat?}/{page?}', 'Peertube\Channel@index'); +Route::get('/w/{id}', 'Peertube\Watch@index'); Route::get('/logout', 'Peertube\Logout@logout'); Route::group(['prefix' => 'login'], function () { Route::get('/', 'Peertube\Login@index'); Route::post('/', 'Peertube\Login@login'); }); -Route::any('/signup', 'Peertube\Signup@index'); +Route::get('/signup', 'Peertube\Signup@index'); Route::group(['prefix' => 'about'], function () { - Route::any('/', 'Peertube\About@instance'); - Route::any('/instance', 'Peertube\About@instance'); - Route::any('/lightpeer', 'Peertube\About@lightpeer'); - Route::any('/follows', 'Peertube\About@follows'); + Route::get('/', 'Peertube\About@instance'); + Route::get('/instance', 'Peertube\About@instance'); + Route::get('/lightpeer', 'Peertube\About@lightpeer'); + Route::get('/follows', 'Peertube\About@follows'); }); Route::group(['prefix' => 'my-account'], function () { - Route::any('/', 'Peertube\Myaccount\Settings@index'); - Route::any('/settings', 'Peertube\Myaccount\Settings@index'); + Route::get('/', 'Peertube\Myaccount\Settings@index'); + Route::get('/settings', 'Peertube\Myaccount\Settings@index'); Route::group(['prefix' => 'notifications'], function () { Route::post('/read', 'Peertube\Myaccount\Notification@read'); Route::post('/readAll', 'Peertube\Myaccount\Notification@readAll'); Route::get('/{page?}', 'Peertube\Myaccount\Notification@index'); }); - Route::any('/applications', 'Peertube\Myaccount\Applications@index'); + Route::get('/applications', 'Peertube\Myaccount\Applications@index'); Route::group(['prefix' => 'blocklist'], function () { - Route::any('/', 'Peertube\Myaccount\Blocklist\Accounts@index'); - Route::any('/accounts', 'Peertube\Myaccount\Blocklist\Accounts@index'); - Route::any('/servers', 'Peertube\Myaccount\Blocklist\Servers@index'); + Route::get('/', 'Peertube\Myaccount\Blocklist\Accounts@index'); + Route::get('/accounts', 'Peertube\Myaccount\Blocklist\Accounts@index'); + Route::get('/servers', 'Peertube\Myaccount\Blocklist\Servers@index'); }); }); -Route::any('/my-library', 'Peertube\Mylibrary@index'); +Route::get('/my-library', 'Peertube\Mylibrary@index'); Route::group(['prefix' => 'admin'], function () { - Route::any('/', 'Peertube\Admin\Users@index'); - Route::any('/users', 'Peertube\Admin\Users@index'); + Route::get('/', 'Peertube\Admin\Users@index'); + Route::get('/users', 'Peertube\Admin\Users@index'); }); Route::group(['prefix' => 'my-library'], function () { - Route::any('/', 'Peertube\Mylibrary\Videochannels@index'); - Route::any('/videos', 'Peertube\Mylibrary\Videos@index'); - Route::any('/video-playlists', 'Peertube\Mylibrary\Videoplaylists@index'); + Route::get('/', 'Peertube\Mylibrary\Videochannels@index'); + Route::get('/videos', 'Peertube\Mylibrary\Videos@index'); + Route::get('/video-playlists', 'Peertube\Mylibrary\Videoplaylists@index'); Route::group(['prefix' => 'history'], function () { - Route::any('/', 'Peertube\Mylibrary\History@index'); - Route::any('/videos', 'Peertube\Mylibrary\History\Videos@index'); + Route::get('/', 'Peertube\Mylibrary\History@index'); + Route::get('/videos', 'Peertube\Mylibrary\History\Videos@index'); }); }); Route::group(['prefix' => 'videos'], function () { - Route::any('/', 'Peertube\Videos\Local@index'); - Route::any('/subscriptions', 'Peertube\Videos\Subscriptions@index'); - Route::any('/overview/{page?}', 'Peertube\Videos\Overview@index'); - Route::any('/trending/{page?}', 'Peertube\Videos\Trending@index'); - Route::any('/recently-added/{page?}', 'Peertube\Videos\Recentlyadded@index'); - Route::any('/local/{page?}', 'Peertube\Videos\Local@index'); - Route::any('/upload', 'Peertube\Videos\Upload@index'); + Route::get('/', 'Peertube\Videos\Local@index'); + Route::get('/subscriptions', 'Peertube\Videos\Subscriptions@index'); + Route::get('/overview/{page?}', 'Peertube\Videos\Overview@index'); + Route::get('/trending/{page?}', 'Peertube\Videos\Trending@index'); + Route::get('/recently-added/{page?}', 'Peertube\Videos\Recentlyadded@index'); + Route::get('/local/{page?}', 'Peertube\Videos\Local@index'); + Route::get('/upload', 'Peertube\Videos\Upload@index'); });