Atualli commited on
Commit
2fc19fb
1 Parent(s): d77c198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -102,7 +102,11 @@ def getdatalocal():
102
 
103
  @ app.route('/<file>' , methods=['GET'])
104
  def fileget(file):
105
- return app.send_static_file(file)
 
 
 
 
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__':