mirror of
https://0xacab.org/johnxina/rat.git
synced 2024-12-23 13:09:08 +00:00
Update app.py
This commit is contained in:
parent
2ab4179d0e
commit
c47fef51f8
2
app.py
2
app.py
@ -246,7 +246,7 @@ async def general_error_view(e):
|
|||||||
@proxified.register('/proxy/avatar/')
|
@proxified.register('/proxy/avatar/')
|
||||||
class AvatarProxyHandler(AsgiproxifyHandler):
|
class AvatarProxyHandler(AsgiproxifyHandler):
|
||||||
def make_request_url(self):
|
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/')
|
@proxified.register('/proxy/pic/')
|
||||||
class PictureProxyHandler(AsgiproxifyHandler):
|
class PictureProxyHandler(AsgiproxifyHandler):
|
||||||
|
Loading…
Reference in New Issue
Block a user