Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
47 |
-
def novofront():
|
48 |
-
return app.send_static_file('novo-front/
|
49 |
|
50 |
-
@ app.route('/novo-front/css
|
51 |
-
def novofrontcss():
|
52 |
-
return app.send_static_file('novo-front/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')
|