from flask import Flask, render_template app = Flask( __name__, static_url_path='', static_folder='static/', template_folder='templates/' ) @app.route('/') def index(): return render_template("age-gate.html") if __name__ == "__main__": app.run(debug=True, host='0.0.0.0', port=5001)