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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -65,6 +65,14 @@ def autentica():
65
 
66
  response = Response(res.content, res.status_code, res.headers)
67
  return response
 
 
 
 
 
 
 
 
68
 
69
  @ app.route('/getdatamosaico', methods=['GET'])
70
  def getdatamosaico():
 
65
 
66
  response = Response(res.content, res.status_code, res.headers)
67
  return response
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
76
 
77
  @ app.route('/getdatamosaico', methods=['GET'])
78
  def getdatamosaico():