diff --git a/routes/web.php b/routes/web.php index 3c84ea808..200f65744 100644 --- a/routes/web.php +++ b/routes/web.php @@ -306,6 +306,13 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('profile/collections/{id}', 'CollectionController@getUserCollections'); Route::post('compose/tag/untagme', 'MediaTagController@untagProfile'); + + Route::post('import/ig', 'ImportPostController@store'); + Route::get('import/ig/config', 'ImportPostController@getConfig'); + Route::post('import/ig/media', 'ImportPostController@storeMedia'); + Route::post('import/ig/existing', 'ImportPostController@getImportedFiles'); + Route::post('import/ig/posts', 'ImportPostController@getImportedPosts'); + Route::post('import/ig/processing', 'ImportPostController@getProcessingCount'); }); Route::group(['prefix' => 'web/stories'], function () { @@ -577,6 +584,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::view('tagging-people', 'site.help.tagging-people')->name('help.tagging-people'); Route::view('licenses', 'site.help.licenses')->name('help.licenses'); Route::view('instance-max-users-limit', 'site.help.instance-max-users')->name('help.instance-max-users-limit'); + Route::view('import', 'site.help.import')->name('help.import'); }); Route::get('newsroom/{year}/{month}/{slug}', 'NewsroomController@show'); Route::get('newsroom/archive', 'NewsroomController@archive');