Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Feb 6, 2025
1 parent e94b78c commit 0a6f513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions violet/lib/network/wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ Future<http.Response> _scriptGet(String url,
if (res.statusCode != 200) {
Logger.warning('[Http Response] CODE: ${res.statusCode}, GET: $url');
}
if (res.statusCode == 404 && url.contains('ltn.hitomi.la')) {
throw '[Http Response] CODE: ${res.statusCode}, GET: $url';
}

if (!HttpWrapper.cacheResponse.containsKey(url) &&
res.statusCode == 200 &&
Expand Down

0 comments on commit 0a6f513

Please sign in to comment.