From e54334e95182689e03051915935577abe97ee6ea Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:07:13 +0530 Subject: [PATCH 1/2] Disable /js/ handle --- handles/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/handles/models.py b/handles/models.py index e3371dbac..59f20b591 100644 --- a/handles/models.py +++ b/handles/models.py @@ -28,6 +28,7 @@ "about", "blog", "sales", + "js", ] COMMON_EMAIL_DOMAINS = [ "gmail.com", From 6a58c85b4da5c14dc104d37cfcd9d2aa061c05ad Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:15:47 +0530 Subject: [PATCH 2/2] Disallow handles that might conflict with common asset routes --- handles/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handles/models.py b/handles/models.py index 59f20b591..b027736a0 100644 --- a/handles/models.py +++ b/handles/models.py @@ -29,6 +29,9 @@ "blog", "sales", "js", + "css", + "assets", + "favicon.ico", ] COMMON_EMAIL_DOMAINS = [ "gmail.com",