Add /admin to the blocked both pats
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user