webdict/app/app.py
2025-04-06 02:20:27 -05:00

14 lines
No EOL
377 B
Python

from flask import Flask, render_template, send_from_directory
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.j2', server="everypizza.im dictd 1.13.3/rf on Linux 6.13.7-arch1-1")
@app.route('/style.css')
def style():
return send_from_directory('static', 'output.css')
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)