Auto-generated by Trail System

This commit is contained in:
Ivan087
2025-11-28 11:04:20 +08:00
commit c4580fc437
6 changed files with 77 additions and 0 deletions

16
app.py Normal file
View File

@ -0,0 +1,16 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def todo_list():
"""Route to return the Todo List page."""
return 'Todo List'
@app.errorhandler(404)
def page_not_found(e):
"""Handle 404 errors."""
return 'Page not found', 404
if __name__ == '__main__':
app.run(debug=False)