import os import flask import logging from dotenv import load_dotenv load_dotenv() app = flask.Flask(__name__) log = logging.getLogger('werkzeug') log.disabled = True @app.context_processor def inject_variables(): return { 'contact_email': os.getenv('CONTACT_EMAIL') } @app.route('/') def index(): return flask.render_template('index.html') app.run(debug=True, use_evalex=False, port=2323)