diff --git a/realms/config/__init__.py b/realms/config/__init__.py index 3bb8644..a11bab5 100644 --- a/realms/config/__init__.py +++ b/realms/config/__init__.py @@ -178,7 +178,7 @@ LOGIN_DISABLED = ALLOW_ANON LOCKED = WIKI_LOCKED_PAGES[:] if BASE_URL.endswith('/'): - BASE_URL = BASE_URL[-1] + BASE_URL = BASE_URL[:-1] SQLALCHEMY_DATABASE_URI = DB_URI diff --git a/realms/templates/layout.html b/realms/templates/layout.html index d80b94c..4eb1717 100644 --- a/realms/templates/layout.html +++ b/realms/templates/layout.html @@ -36,7 +36,7 @@ - {{ config.SITE_TITLE }} + {{ config.SITE_TITLE }}