diff --git a/flask_boat.py b/flask_boat.py index 5b03e54..713fbd0 100644 --- a/flask_boat.py +++ b/flask_boat.py @@ -93,7 +93,7 @@ def set_base_url(): # Homepage @app.route(f"/{base_url}/") def home_page(): - return send_from_directory(f'{app.root_path}/render.html') + return send_from_directory(app.root_path, 'render.html') # For generic pages we can include a common template and change only the contents