1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-02-22 14:10:39 +00:00

Move fallback media route

This commit is contained in:
Daniel Supernault 2025-02-07 00:48:00 -07:00
parent df7283fc00
commit eac222d243
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1
2 changed files with 1 additions and 1 deletions

View file

@ -19,6 +19,7 @@ Route::get('api/nodeinfo/2.0.json', 'FederationController@nodeinfo');
Route::get('api/service/health-check', 'HealthCheckController@get');
Route::post('api/auth/app-code-verify', 'AppRegisterController@verifyCode')->middleware('throttle:app-code-verify');
Route::post('api/auth/onboarding', 'AppRegisterController@onboarding')->middleware('throttle:app-code-verify');
Route::get('storage/m/_v2/{pid}/{mhash}/{uhash}/{f}', 'MediaController@fallbackRedirect');
Route::prefix('api/v0/groups')->middleware($middleware)->group(function () {
Route::get('config', 'Groups\GroupsApiController@getConfig');

View file

@ -472,7 +472,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
});
Route::get('g/{hid}', 'GroupController@groupShortLinkRedirect');
Route::get('storage/m/_v2/{pid}/{mhash}/{uhash}/{f}', 'MediaController@fallbackRedirect');
Route::get('stories/{username}', 'ProfileController@stories');
Route::get('p/{id}', 'StatusController@shortcodeRedirect');
Route::get('c/{collection}', 'CollectionController@show');