diff --git a/steering/settings.py b/steering/settings.py
index c6bb30f71e8857c333285fd3e8d68a27ba21e37d..a205d84315fd8ff67712ae0c84f50c3cf9ded1a7 100644
--- a/steering/settings.py
+++ b/steering/settings.py
@@ -30,15 +30,7 @@ MANAGERS = ADMINS
 ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", default="127.0.0.1,localhost").split(",")
 
 # Whitelist origins that access the API
-CORS_ALLOWED_ORIGINS = os.getenv(
-    "CORS_ALLOWED_ORIGINS",
-    default=os.getenv(
-        # This is for backwards compatibility as
-        # CORS_ALLOWED_ORIGINS was named CORS_ORIGIN_WHITELIST in the past.
-        "CORS_ORIGIN_WHITELIST",
-        default=("http://localhost:8080", "http://localhost:8040"),
-    ),
-)
+CORS_ALLOWED_ORIGINS = ["http://localhost:8080", "http://localhost:8040"]
 CORS_ALLOW_CREDENTIALS = True
 CORS_ALLOW_HEADERS = list(default_headers) + [
     "content-disposition",
@@ -172,17 +164,17 @@ OIDC_EXTRA_SCOPE_CLAIMS = "steering.oidc_provider_settings.AuraScopeClaims"
 
 if os.getenv("STEERING_PORT"):
     SITE_URL = (
-        os.getenv("AURA_PROTO", default="http")
-        + "://"
-        + os.getenv("AURA_HOST", default="localhost")
-        + ":"
-        + os.getenv("STEERING_PORT")
+            os.getenv("AURA_PROTO", default="http")
+            + "://"
+            + os.getenv("AURA_HOST", default="localhost")
+            + ":"
+            + os.getenv("STEERING_PORT")
     )
 else:
     SITE_URL = (
-        os.getenv("AURA_PROTO", default="http")
-        + "://"
-        + os.getenv("AURA_HOST", default="localhost")
+            os.getenv("AURA_PROTO", default="http")
+            + "://"
+            + os.getenv("AURA_HOST", default="localhost")
     )
 
 # WSGI_APPLICATION = 'steering.wsgi.application';