1seok2

add 404 route

......@@ -13,6 +13,11 @@ from flask import Flask, render_template
app = Flask(__name__)
@app.errorhandler(404)
def page_not_found():
return render_template('404.html')
@app.route("/")
def home():
return render_template('index.html')
......
<!DOCTYPE html>
<html>
<body>
<h1>404 not found</h1>
</body>
</html>
\ No newline at end of file