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
|
$Port = 8082
|
||||||
|
|
||||||
# Configurable endpoints
|
# 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)
|
# SAMY asset config (change branch or base once and it updates everything)
|
||||||
$Script:SamyBranch = 'beta' # or 'main'
|
$Script:SamyBranch = 'beta' # or 'main'
|
||||||
@@ -2591,7 +2591,7 @@ function Install-DattoRMM {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$resp = Invoke-RestMethod -Uri $WebhookUrl `
|
$resp = Invoke-RestMethod -Uri $WebhookUrl `
|
||||||
-Headers @{ SVSMSPKit = $WebhookPassword } `
|
-Headers @{ SAMYPW = $WebhookPassword } `
|
||||||
-Method GET
|
-Method GET
|
||||||
$ApiUrl = $resp.ApiUrl
|
$ApiUrl = $resp.ApiUrl
|
||||||
$ApiKey = $resp.ApiKey
|
$ApiKey = $resp.ApiKey
|
||||||
|
|||||||
Reference in New Issue
Block a user