diff --git a/main.py b/main.py index be26724..1d05708 100644 --- a/main.py +++ b/main.py @@ -129,7 +129,7 @@ def add_link(): # Verify link is not taken if db.get_link(link) != False: return error('Link already taken') - if link in ['dash','login','logout','404','assets']: + if link in ['dash','login','logout','404','assets','admin']: return error('Link already taken') # Add link diff --git a/templates/404.html b/templates/404.html index 9898cdc..b83be13 100644 --- a/templates/404.html +++ b/templates/404.html @@ -17,6 +17,21 @@ + + +
diff --git a/templates/dash.html b/templates/dash.html index 575f547..cfeac3a 100644 --- a/templates/dash.html +++ b/templates/dash.html @@ -17,6 +17,21 @@ + + + diff --git a/templates/index.html b/templates/index.html index ea2d1e0..6b13e93 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,6 +25,21 @@ + + +