Atualli commited on
Commit
e34db5a
1 Parent(s): a74b5a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,8 +45,8 @@ def getresource():
45
 
46
  @ app.route('/novo-front/<file>')
47
  def novofront(file):
48
- print (file)
49
- return app.send_static_file('/novo-front/'+file+'.html')
50
 
51
  if __name__ == '__main__':
52
  mode = os.environ.get('FLASK_ENV', 'production')
 
45
 
46
  @ app.route('/novo-front/<file>')
47
  def novofront(file):
48
+ newfile = '/novo-front/'+file+'.html'
49
+ return app.send_static_file(newfile)
50
 
51
  if __name__ == '__main__':
52
  mode = os.environ.get('FLASK_ENV', 'production')