mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-10-31 17:37:10 +00:00
whoops
This commit is contained in:
parent
70c70d0038
commit
8bff50efc2
@ -27,6 +27,7 @@ public class AdminsEndpoint extends AbstractServlet
|
||||
public String getAdmins(HttpServletRequest request, HttpServletResponse response)
|
||||
{
|
||||
String ipAddress = request.getRemoteAddr();
|
||||
if (ipAddress == null)
|
||||
{
|
||||
return adminsHTML("An IP address could not be detected. Please ensure you are connecting using IPv4.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user