瀏覽代碼

Update web routes

Daniel Supernault 6 年之前
父節點
當前提交
11749bdc6a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      routes/web.php

+ 1 - 0
routes/web.php

@@ -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 () {