This commit is contained in:
x
2024-06-10 02:33:16 +02:00
parent 1008649005
commit 4f4d95d4d7

View File

@@ -187,7 +187,7 @@ Route::group(["middleware" => "theme"], function() {
Route::get('{shortname}/{id}', 'CategoryController@showVideo')->where(['shortname' => '[a-z][a-z0-9]+', 'id' => '[0-9]+']); Route::get('{shortname}/{id}', 'CategoryController@showVideo')->where(['shortname' => '[a-z][a-z0-9]+', 'id' => '[0-9]+']);
##Tag View everybody! ##Tag View everybody!
Route::get('t/{tag}', 'TagviewController@showVideo')->where('tag', '[a-zA-Z][A-Za-z0-9, ]+'); Route::get('t/{tag}', 'TagviewController@showVideo');
Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where(['tag' => '[a-zA-Z][A-Za-z0-9, ]+', 'id' => '[0-9]+']); Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where('id','[0-9]+');
}); });