Atualli commited on
Commit
f2172f4
1 Parent(s): 515a25e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -43,11 +43,13 @@ def getresource():
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
- newfile = 'novo-front/'+file+'.html'
49
- print(newfile)
50
- return app.send_static_file(newfile)
 
 
51
 
52
  if __name__ == '__main__':
53
  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/index')
47
+ def novofront():
48
+ return app.send_static_file('novo-front/index.html')
49
+
50
+ @ app.route('/novo-front/css/styles.css')
51
+ def novofrontcss():
52
+ return app.send_static_file('novo-front/css/styles.css')
53
 
54
  if __name__ == '__main__':
55
  mode = os.environ.get('FLASK_ENV', 'production')