diff --git a/dist/routes/web.php b/dist/routes/web.php index d8c7d5a..5e4bc4b 100644 --- a/dist/routes/web.php +++ b/dist/routes/web.php @@ -53,14 +53,17 @@ Route::post('file/{gameVersion}/{seed}/{mapName}', [MatchmakingController::class, 'seedFilePost']); Route::get('file/{gameVersion}/{seed}/{mapName}', [MatchmakingController::class, 'seedFileGet']); -Route::post('metrics/httplog/event', function () { - return response('', 200); -}); -Route::post('metrics/server/event', function () { - return response('', 200); -}); -Route::post('metrics/client/event', function () { - return response('', 200); -}); -Route::post('metrics/matchmaking/event', [MatchmakingController::class, 'cancelQueue']); \ No newline at end of file +Route::middleware('api.session')->group(function () { + Route::post('metrics/httplog/event', function () { + return response('', 204); + }); + Route::post('metrics/server/event', function () { + return response('', 204); + }); + Route::post('metrics/client/event', function () { + return response('', 204); + }); + + Route::post('metrics/matchmaking/event', [MatchmakingController::class, 'cancelQueue']); +});