Aberrant/aberrant.py

16 lines
319 B
Python
Raw Normal View History

2019-01-16 09:33:36 -05:00
#!/usr/bin/env python3
"""
The primary module for serving the Aberrant application.
"""
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def index():
"""The index page."""
return render_template("index.html", **locals())
if __name__ == "__main__":
app.run(host='0.0.0.0', port=5000)