diff --git a/zotan.pw-web/Pages/Index.cshtml b/zotan.pw-web/Pages/Index.cshtml index a17dd3c..1bf7e9e 100644 --- a/zotan.pw-web/Pages/Index.cshtml +++ b/zotan.pw-web/Pages/Index.cshtml @@ -36,7 +36,7 @@

Here you can find my contact info, crypto keys, projects, and a few links.

-@if (Request.Headers["X-Forwarded-For"] == "::1") { +@if (Request.Headers["X-Forwarded-For"] == "::1" || Request.Headers["X-Forwarded-For"].ToString().Contains(".") || Request.Headers["X-Forwarded-For"].ToString().StartsWith("2a01:4f8:10a:23a7:4646:4646:")) {

Many of my services are IPv6-only, and more are soon to follow. Your browser preferred IPv4 while connecting to this website, so please check your connection for IPv6 support before contacting me if your browser displays a network error.

}