1
0
Fork 0
forked from mirror/pixelfed

Update web routes

This commit is contained in:
Daniel Supernault 2018-11-13 17:30:37 -07:00
parent 7691da69a9
commit 11749bdc6a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -44,6 +44,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
});
Route::group(['prefix' => 'v2'], function() {
Route::get('notifications', 'InternalApiController@notifications');
Route::post('notifications', 'InternalApiController@notificationMarkAllRead');
Route::get('discover', 'InternalApiController@discover');
});
Route::group(['prefix' => 'local'], function () {