This commit is contained in:
2026-08-17 20:25:40 +04:00
parent 9e36265f81
commit 6a73d760c4
7 changed files with 366 additions and 0 deletions
+3
View File
@@ -4,6 +4,7 @@ use App\Http\Controllers\Api\GameBalanceController;
use App\Http\Controllers\Api\LauncherAccountController;
use App\Http\Controllers\Api\LauncherAuthController;
use App\Http\Controllers\Api\LauncherController;
use App\Http\Controllers\Api\LauncherGameTicketController;
use App\Http\Controllers\Api\LauncherNewsController;
use App\Http\Controllers\Api\LauncherRealmController;
use App\Http\Controllers\Api\LauncherRegistrationController;
@@ -19,6 +20,8 @@ Route::get('launcher/realms', [LauncherRealmController::class, 'index'])
Route::middleware('auth:api')->prefix('launcher')->group(function () {
Route::get('account', [LauncherAccountController::class, 'show']);
Route::post('game-ticket', [LauncherGameTicketController::class, 'store'])
->middleware('throttle:10,1');
Route::get('manifest', [LauncherController::class, 'manifest']);
Route::get('download/{path}', [LauncherController::class, 'download'])
->where('path', '.*');