Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
47 |
-
def novofront():
|
48 |
-
|
|
|
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')
|