Update samy.ps1

This commit is contained in:
2025-11-26 20:00:49 -05:00
parent ec3a324124
commit 3b4a3cd785

View File

@@ -1045,7 +1045,7 @@ function Get-RemoteText {
return $resp.Content
}
catch {
Write-LogHybrid "Get-RemoteText failed for $Url: $($_.Exception.Message)" Warning UI -LogToEvent
Write-LogHybrid "Get-RemoteText failed for ${Url}: $($_.Exception.Message)" Warning UI -LogToEvent
return ""
}
}
@@ -1079,7 +1079,7 @@ function Get-UIHtml {
$jsContent = Get-RemoteText -Url "https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/samy.js?raw=1"
#
# 4) HTML template **no external link/script src** anymore, all inlined
# 4) HTML template - **no external link/script src** anymore, all inlined
#
$htmlTemplate = @"
<!DOCTYPE html>