Atualli commited on
Commit
0bb3bb0
·
1 Parent(s): f2172f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -43,13 +43,18 @@ 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
- @ 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')
 
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
+ return app.send_static_file('novo-front/'+file+'.html')
49
 
50
+ @ app.route('/novo-front/css/<file>')
51
+ def novofrontcss(file):
52
+ return app.send_static_file('novo-front/css/'+file)
53
+
54
+ @ app.route('/novo-front/img/<file>')
55
+ def novofrontimg(file):
56
+ return app.send_static_file('novo-front/img/'+file)
57
+
58
 
59
  if __name__ == '__main__':
60
  mode = os.environ.get('FLASK_ENV', 'production')