Atualli commited on
Commit
f3edc8b
1 Parent(s): 5b172f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -43,9 +43,10 @@ def getresource():
43
  res = request.args.get('r')
44
  return app.send_static_file(res)
45
 
46
- @ app.route('/novo-front/index')
47
- def novofront():
48
- return app.send_static_file('/novo-front/index.html')
 
49
 
50
  if __name__ == '__main__':
51
  mode = os.environ.get('FLASK_ENV', 'production')
 
43
  res = request.args.get('r')
44
  return app.send_static_file(res)
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')