main #8
1 changed files with 6 additions and 1 deletions
|
@ -42,7 +42,12 @@ suspend fun ntfyMsg(
|
||||||
click: String,
|
click: String,
|
||||||
) {
|
) {
|
||||||
val message: HttpResponse =
|
val message: HttpResponse =
|
||||||
client.post("https://" + endpoint) {
|
client.post(
|
||||||
|
buildString {
|
||||||
|
append("https://")
|
||||||
|
append(endpoint)
|
||||||
|
},
|
||||||
|
) {
|
||||||
headers {
|
headers {
|
||||||
append("Title", title)
|
append("Title", title)
|
||||||
append("Attach", attach)
|
append("Attach", attach)
|
||||||
|
|
Loading…
Reference in a new issue