From c47fef51f8c46b251f0fa2c22d18bbee6e13e442 Mon Sep 17 00:00:00 2001 From: Bing Chilling Date: Wed, 17 Jan 2024 02:37:30 +0000 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b6a9153..02b09c0 100644 --- a/app.py +++ b/app.py @@ -246,7 +246,7 @@ async def general_error_view(e): @proxified.register('/proxy/avatar/') class AvatarProxyHandler(AsgiproxifyHandler): def make_request_url(self): - return 'http://tb.himg.baidu.com/sys/portraith/item/' + self.scope['path'][14:] + return 'http://himg.baidu.com/sys/portraith/item/' + self.scope['path'][14:] @proxified.register('/proxy/pic/') class PictureProxyHandler(AsgiproxifyHandler):