Skip to content

Instantly share code, notes, and snippets.

@adithyan-ak
Last active September 22, 2022 04:40
Show Gist options
  • Save adithyan-ak/7dcae081426deb8733c8754ea8684508 to your computer and use it in GitHub Desktop.
Save adithyan-ak/7dcae081426deb8733c8754ea8684508 to your computer and use it in GitHub Desktop.
from flask import Flask, request, render_template_string, render_template
app = Flask(__name__)
@app.route('/')
def main():
template = '''<h2> Welcome to Super Secure Website <h2>'''
return render_template('index.html')
@app.errorhandler(404)
def page_not_found(e):
raise
app.run(host="0.0.0.0",port=80,debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment