Skip to content

Commit

Permalink
Update Stream the logs - Customized Output for Microsoft.ps1
Browse files Browse the repository at this point in the history
Removed T for T.co because it's a valid full domain
  • Loading branch information
HotCakeX committed Sep 20, 2023
1 parent 4ecf059 commit 3b771b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ try {

# If NextDNS didn't properly provide the correct root domain, check if it contains any of these sub-TLDs
# If it does then select the entire string
if ($Possibility[1] -match '(?<SubTLD>co|ac|com|t|uk|eu|app|org|net)[.](?<TLD>.*)$') {
if ($Possibility[1] -match '(?<SubTLD>co|ac|com|uk|eu|app|org|net)[.](?<TLD>.*)$') {

$RootDomain = $Possibility[0]

Expand Down

0 comments on commit 3b771b7

Please sign in to comment.