デフォルトパス

このコミットが含まれているのは:
守矢諏訪子 2021-12-16 01:35:12 +09:00
コミット 100ad42b93
1個のファイルの変更6行の追加0行の削除

ファイルの表示

@ -1,6 +1,8 @@
<?php
Route::group(['prefix' => 'peertube'], function () {
Route::any('/', 'Peertube\Videos\Local@index');
Route::any('/a/{id}/{cat?}', 'Peertube\Account@index');
Route::any('/c/{id}/{cat?}/{page?}', 'Peertube\Channel@index');
Route::any('/w/{id}', 'Peertube\Watch@index');
@ -16,19 +18,23 @@ Route::group(['prefix' => 'peertube'], function () {
Route::any('/my-library', 'Peertube\Mylibrary@index');
Route::group(['prefix' => 'admin'], function () {
Route::any('/', 'Peertube\Admin\Users@index');
Route::any('/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::group(['prefix' => 'history'], function () {
Route::any('/', 'Peertube\Mylibrary\History@index');
Route::any('/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', 'Peertube\Videos\Overview@index');
Route::any('/trending', 'Peertube\Videos\Trending@index');