Merge branch 'operacle:develop' into develop

This commit is contained in:
YiZixuan
2025-09-09 22:40:37 +08:00
committed by GitHub
3 changed files with 13 additions and 19 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# These are supported funding model platforms
github: [tolaleng]
github: #[tolaleng]
patreon: # Replace with a single Patreon username
open_collective: #checkcle
ko_fi: # Replace with a single Ko-fi username
+2 -18
View File
@@ -128,19 +128,9 @@ docker run -d \
---
## Sponsors
🙏 We're incredibly thankful to our sponsors. Your contributions enable us to maintain infrastructure (hosting, domains), run tests, and continue developing valuable features.
Sponsorships will no longer be accepted. From now on, support will only be accepted in the form of ecosystem and community partnerships that provide infrastructure such as cloud servers, domains, or hosting credits.
### 🥈 Silver Uptime
<a href="https://github.com/michaelortnerit">
<img src="https://avatars.githubusercontent.com/u/135371107?v=4" width="75" height="75" style="border-radius: 50%; display: block;" />
</a>
### 🧡 Ping Supporter
<a href="https://github.com/samang-dauth">
<img src="https://avatars.githubusercontent.com/u/4575656?v=4" width="75" height="75" style="border-radius: 50%; display: block;" />
</a>
If youre a tech company interested in supporting CheckCle, please contact the author directly at tolaleng@checkcle.io
### 🤝 Ecosystem & Community Partner
<div style="display: flex; align-items: center; gap: 10px;">
@@ -163,12 +153,6 @@ docker run -d \
</a>
</div>
---
@@ -32,6 +32,11 @@ func (ns *NtfyService) SendNotification(config *AlertConfiguration, message stri
req.Header.Set("Title", "🔔 CheckCle Service Alert")
req.Header.Set("Tags", "monitoring")
req.Header.Set("Priority", "default")
// Add API token authentication if provided
if config.APIToken != "" {
req.Header.Set("Authorization", "Bearer "+config.APIToken)
}
// Send the request
client := &http.Client{}
@@ -111,6 +116,11 @@ func (ns *NtfyService) SendNotificationWithDetails(config *AlertConfiguration, m
req.Header.Set("Tags", tags)
req.Header.Set("Priority", priority)
// Add API token authentication if provided
if config.APIToken != "" {
req.Header.Set("Authorization", "Bearer "+config.APIToken)
}
// Send the request
client := &http.Client{}