Revert "Revert "Release 20200823.1100""

This reverts commit 1b5f690f4e.
This commit is contained in:
shibafu
2020-08-30 13:57:02 +09:00
parent 46449a2836
commit 407fd192bd
71 changed files with 4372 additions and 1200 deletions

View File

@@ -15,9 +15,13 @@
// return $request->user();
//});
Route::get('/checkin/card', 'Api\\CardController@show');
Route::get('/checkin/card', 'Api\\CardController@show')
->middleware('throttle:180,1,card');
Route::middleware('auth')->group(function () {
Route::middleware(['throttle:60,1', 'stateful', 'auth'])->group(function () {
Route::post('/likes', 'Api\\LikeController@store');
Route::delete('/likes/{id}', 'Api\\LikeController@destroy');
});
Route::post('/webhooks/checkin/{webhook}', 'Api\\WebhookController@checkin')
->middleware('throttle:15,15,checkin_webhook');