mirror of
https://github.com/kevin-DL/ShortMe-URL-Shortener.git
synced 2026-01-19 14:15:22 +00:00
Initial commit
This commit is contained in:
9
app/server/routes/page_not_found.py
Normal file
9
app/server/routes/page_not_found.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# ------- 3rd party imports -------
|
||||
from flask import Blueprint, render_template
|
||||
|
||||
page_not_found_blueprint = Blueprint('page_not_found_blueprint', __name__, template_folder='templates')
|
||||
|
||||
|
||||
@page_not_found_blueprint.route('/page_not_found')
|
||||
def page_not_found():
|
||||
return render_template('404.html')
|
||||
Reference in New Issue
Block a user