Update globalurl for dattormm to use BANANAS

This commit is contained in:
2025-12-08 16:38:14 -05:00
parent 381664570e
commit 78ed5de9ef

View File

@@ -236,7 +236,7 @@ $ConfirmPreference = 'None'
$Port = 8082
# Configurable endpoints
$Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit'
$Global:DattoWebhookUrl = 'https://bananas.svstools.ca/dattormm'
# SAMY asset config (change branch or base once and it updates everything)
$Script:SamyBranch = 'beta' # or 'main'
@@ -2591,7 +2591,7 @@ function Install-DattoRMM {
}
try {
$resp = Invoke-RestMethod -Uri $WebhookUrl `
-Headers @{ SVSMSPKit = $WebhookPassword } `
-Headers @{ SAMYPW = $WebhookPassword } `
-Method GET
$ApiUrl = $resp.ApiUrl
$ApiKey = $resp.ApiKey