diff --git a/tiny0/database.db b/tiny0/database.db index eaf63e0..5d691a8 100644 Binary files a/tiny0/database.db and b/tiny0/database.db differ diff --git a/tiny0/routes.py b/tiny0/routes.py index d59e19d..c0b9f84 100644 --- a/tiny0/routes.py +++ b/tiny0/routes.py @@ -36,7 +36,8 @@ def short_url(token): # If the query response was empty if not query: - return "invalid" + # Return the error page with a 404 not found error + return render_template("error.html", error_message="404 Not Found"), 404 # Else if the query response contained data else: