diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cc8384d5009f6fe6cd51434fe375ea6bd80ef2b0..d7c43f0e7e1740badbad6435c49607747980b6d6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -33,6 +33,8 @@ Removed * Official support for views rendered server-side in Django is removed. The `LegacyBaseTemplate` provided for backwards compatibility must not be used by apps declaring a dependency on AlekSIS >= 3.0. +* Support for deploying AlekSIS in sub-URLs +* Support for production deployments without HTTPS Deprecated ~~~~~~~~~~ diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index c12ae3371376a0836bdd9898753e7f8d28317daa..060328efd353c63c61f10e2e87a0487877a55ba8 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -68,7 +68,8 @@ DJANGO_VITE_DEV_SERVER_PORT = DEV_SERVER_PORT + 1 ALLOWED_HOSTS = _settings.get("http.allowed_hosts", [getfqdn(), "localhost", "127.0.0.1", "[::1]"]) BASE_URL = _settings.get( - "http.base_url", f"http://localhost:{DEV_SERVER_PORT}" if DEBUG else f"//{ALLOWED_HOSTS[0]}" + "http.base_url", + f"http://localhost:{DEV_SERVER_PORT}" if DEBUG else f"https://{ALLOWED_HOSTS[0]}", )