Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,11 @@ def getdatalocal():
|
|
102 |
|
103 |
@ app.route('/<file>' , methods=['GET'])
|
104 |
def fileget(file):
|
105 |
-
|
|
|
|
|
|
|
|
|
106 |
|
107 |
|
108 |
if __name__ == '__main__':
|
|
|
102 |
|
103 |
@ app.route('/<file>' , methods=['GET'])
|
104 |
def fileget(file):
|
105 |
+
newurl = 'http://painel.atualli.com/'+file
|
106 |
+
res = requests.get(newurl)
|
107 |
+
|
108 |
+
response = Response(res.content, res.status_code, res.headers)
|
109 |
+
return response
|
110 |
|
111 |
|
112 |
if __name__ == '__main__':
|