add: use meilisearch to search torrents

This commit is contained in:
Roardom
2024-08-01 15:29:41 +00:00
parent 4d4a2f73b1
commit fa35e4e5c0
24 changed files with 1512 additions and 174 deletions
@@ -264,6 +264,8 @@ class TorrentBuffController extends Controller
cache()->put('freeleech_token:'.$user->id.':'.$torrent->id, true);
$torrent->searchable();
return to_route('torrents.show', ['id' => $torrent->id])
->withSuccess('You Have Successfully Activated A Freeleech Token For This Torrent!');
}