Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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():
|