Only track was watched if more than 10s is played #6

This commit is contained in:
2026-07-19 16:10:24 +02:00
parent 859a35847a
commit 4f81164b44
4 changed files with 65 additions and 14 deletions
+1
View File
@@ -27,6 +27,7 @@ Route::get('/v1/monthly-views', [HentaiApiController::class, 'getMonthlyViews'])
// Stream Page
Route::get('/hentai/{title}', [StreamController::class, 'index'])->name('hentai.index');
Route::post('/player/api', [StreamApiController::class, 'getStream'])->name('hentai.player');
Route::post('/watched/track', [StreamApiController::class, 'trackWatched'])->name('hentai.watched');
// Search
Route::get('/search', [HomeController::class, 'search'])->name('hentai.search');