Skip to content

Commit

Permalink
chore: disable anidb proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
infanf committed Nov 15, 2023
1 parent eda1129 commit b584ef6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app/Http/Controllers/AnidbController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public function __construct()

public function redirect(Request $request)
{
// doesn't work on production due to rate limiting
return [];
$url = preg_replace('/^anidb\//', self::$baseUrl, $request->path());
$auth = $request->header('Authorization');
$body = $request->getContent();
Expand Down

0 comments on commit b584ef6

Please sign in to comment.