diff --git a/app/routes.py b/app/routes.py index 331d46b..ff9e551 100644 --- a/app/routes.py +++ b/app/routes.py @@ -281,9 +281,10 @@ def git_update() -> None: @writing_blueprint.route('/status', methods=['GET']) def status_page() -> Response: - status_message = f'Currently running on {os.environ.get("UNDERCOVER_SERVER_NAME")} server' + status_message = f"Currently running on '{os.environ.get('UNDERCOVER_SERVER_NAME')}' server" return make_response(render_template('error.jinja2', status=200, error_text=status_message), 200) + @writing_blueprint.route('/', methods=['POST']) def generate_pdf() -> Response: email_address = session.get('username') diff --git a/app/templates/error.jinja2 b/app/templates/error.jinja2 index 5f6b276..5474251 100644 --- a/app/templates/error.jinja2 +++ b/app/templates/error.jinja2 @@ -4,7 +4,7 @@ {% block title %}UnderCover - {{ status }}{% endblock %} {% block content %} -

{{ error_text }}

+

{{ error_text }}

{% if extra_text %}

{{ extra_text }}

{% endif %}