Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ def getresource():
|
|
45 |
|
46 |
@ app.route('/novo-front/<file>')
|
47 |
def novofront(file):
|
48 |
-
|
49 |
-
return app.send_static_file(
|
50 |
|
51 |
if __name__ == '__main__':
|
52 |
mode = os.environ.get('FLASK_ENV', 'production')
|
|
|
45 |
|
46 |
@ app.route('/novo-front/<file>')
|
47 |
def novofront(file):
|
48 |
+
newfile = '/novo-front/'+file+'.html'
|
49 |
+
return app.send_static_file(newfile)
|
50 |
|
51 |
if __name__ == '__main__':
|
52 |
mode = os.environ.get('FLASK_ENV', 'production')
|