From d23f819e02d1c8bd6e60deb3f28c5479d022d497 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 4 May 2023 01:05:16 +0200 Subject: [PATCH] Use custom public suffix list mirror --- Backend/AuthHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend/AuthHelpers.cs b/Backend/AuthHelpers.cs index 0f9006b..1295160 100644 --- a/Backend/AuthHelpers.cs +++ b/Backend/AuthHelpers.cs @@ -4,7 +4,7 @@ using Nager.PublicSuffix; namespace AutheliaMultiDomainProxy.Backend; public class AuthHelpers { - static DomainParser domainParser = new DomainParser(new WebTldRuleProvider()); + static DomainParser domainParser = new DomainParser(new WebTldRuleProvider("https://share.zotan.services/public_suffix_list.dat")); public static (bool isAuthenticated, string? user) IsAuthenticated(IRequestCookieCollection cookies) { if (!cookies.ContainsKey(Vars.CookieName))