Add /admin to the blocked both pats

This commit is contained in:
Claudio Ortolina
2026-03-05 09:05:09 +00:00
parent 08d01e5939
commit adc7ef49e5
+2 -1
View File
@@ -75,7 +75,8 @@ defmodule MusicLibraryWeb.Endpoint do
"/xmlrpc.php", "/xmlrpc.php",
"/vx.php", "/vx.php",
"/xleet.php", "/xleet.php",
"/jq.php" "/jq.php",
"/admin"
] ]
defp reject_bot_scanners(%{request_path: path} = conn, _opts) when path in @blocked_paths, defp reject_bot_scanners(%{request_path: path} = conn, _opts) when path in @blocked_paths,