mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-21 22:50:56 +10:00
fix regex
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ $testHosts = Test-Path -Path $pathHosts
|
||||
if ($testHosts) {
|
||||
$hosts = Get-Content -Path $pathHosts
|
||||
|
||||
if ($hosts -match '^[^\#| ].+scdn.+|^[^\#].+spotify.+') {
|
||||
if ($hosts -match '^[^\#|].+scdn.+|^[^\#|].+spotify.+') {
|
||||
Write-Host ($lang).HostDel`n
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user