Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ def autentica():
|
|
68 |
|
69 |
@ app.route('/proxyimg', methods=['GET'])
|
70 |
def proxyimg():
|
71 |
-
|
72 |
-
res = requests.get(
|
73 |
|
74 |
response = Response(res.content, res.status_code, res.headers)
|
75 |
return response
|
|
|
68 |
|
69 |
@ app.route('/proxyimg', methods=['GET'])
|
70 |
def proxyimg():
|
71 |
+
newurl = request.args.get('prox')
|
72 |
+
res = requests.get(newurl)
|
73 |
|
74 |
response = Response(res.content, res.status_code, res.headers)
|
75 |
return response
|