Browse Source

Update web routes

Daniel Supernault 5 năm trước cách đây
mục cha
commit
f09b6573f6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      routes/web.php

+ 1 - 1
routes/web.php

@@ -198,7 +198,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
         Route::get('auth/checkpoint', 'AccountController@twoFactorCheckpoint');
         Route::post('auth/checkpoint', 'AccountController@twoFactorVerify');
 
-        Route::get('media/preview/{profileId}/{mediaId}', 'ApiController@showTempMedia')->name('temp-media');
+        Route::get('media/preview/{profileId}/{mediaId}/{timestamp}', 'ApiController@showTempMedia')->name('temp-media');
 
         Route::get('results', 'SearchController@results');
         Route::post('visibility', 'StatusController@toggleVisibility');