Update globalurl for dattormm to use BANANAS
This commit is contained in:
4
samy.ps1
4
samy.ps1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user