Rate limiting

This commit is contained in:
2026-09-09 17:20:11 +02:00
parent 69e683bcaf
commit e42849bed4
3 changed files with 19 additions and 1 deletions
+3 -1
View File
@@ -3,4 +3,6 @@
use App\Http\Controllers\PerceptronController;
use Illuminate\Support\Facades\Route;
Route::post('perceptron/run', [PerceptronController::class, 'run'])->name('perceptron.run');
Route::middleware('throttle:training')->group(function () {
Route::post('perceptron/run', [PerceptronController::class, 'run'])->name('perceptron.run');
});