Skip to content

Commit

Permalink
<request>[feat]fix proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Aug 15, 2024
1 parent 0b9dc84 commit c72aa69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/utils/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

proxy = Config.bot_basic.proxy

if proxy == "":
proxy = None

import httpx

async def get_url(url, **kwargs):
Expand Down

0 comments on commit c72aa69

Please sign in to comment.