nyxsite/site/app.py

12 lines
214 B
Python

#!/usr/bin/env python
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return render_template('index.html')
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)