Atualli commited on
Commit
a1228da
1 Parent(s): 51c254a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,8 +68,8 @@ def autentica():
68
 
69
  @ app.route('/proxyimg', methods=['GET'])
70
  def proxyimg():
71
- img = request.args.get('img')
72
- res = requests.get(img)
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