This commit is contained in:
Nyx 2025-04-06 00:06:03 -05:00
parent 4d0f81dfa7
commit ce672b6bd3

View file

@ -10,4 +10,7 @@ def index():
@app.route('/fortune')
def fortune():
fortune = os.run('/usr/bin/fortune')
return render_template('fortune.j2', fortune=fortune)
return render_template('fortune.j2', fortune=fortune)
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8080)