nyxsite/site/app.py
2025-02-23 22:55:49 -06:00

19 lines
424 B
Python

#!/usr/bin/env python
from flask import Flask, render_template, make_response
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.j2')
@app.route('/assets/index.css')
def indexStyle():
css = render_template('assets/index.css')
response = make_response(css)
response.mimetype = "text/css"
return response
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)