From 882081c285e27cdbb94394a5ab0b0364fdc957dc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 27 Feb 2019 21:12:14 -0700 Subject: [PATCH] Update routes --- routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/web.php b/routes/web.php index 1bcce563..3dc7bce9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -77,6 +77,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::post('avatar/update', 'ApiController@avatarUpdate'); Route::get('likes', 'ApiController@hydrateLikes'); Route::post('media', 'ApiController@uploadMedia'); + Route::delete('media', 'ApiController@deleteMedia'); Route::get('notifications', 'ApiController@notifications'); Route::get('timelines/public', 'PublicApiController@publicTimelineApi'); Route::get('timelines/home', 'PublicApiController@homeTimelineApi'); @@ -214,6 +215,9 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone'); Route::get('data-export', 'SettingsController@dataExport')->name('settings.dataexport'); + Route::post('data-export/following', 'SettingsController@exportFollowing'); + Route::post('data-export/followers', 'SettingsController@exportFollowers'); + Route::post('data-export/mute-block-list', 'SettingsController@exportMuteBlockList'); Route::get('developers', 'SettingsController@developers')->name('settings.developers')->middleware('dangerzone'); });