From 544eb93e051891214778212717c5b4e0f73df69b Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Sun, 30 Jun 2024 21:53:24 +0300 Subject: [PATCH] Fix typo in notification, tweak readme --- README.md | 4 ++-- ntfy/ntfy.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f946bad..5ee4c72 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ to get notified of new mail. See original repo for details on operation. ## Setup -Download (soon), build the binary or the container image or pull the container image yourself. -Simplest way is to run the container image. +Download or build the binary, pull the pre-built container image or build the image yourself. +Simplest way is to run the pre-built container image. Login and push gateway details are saved under `$HOME/.config/hydroxide`. The container image saves configuration under `/data`, so mount a named volume or host directory there. diff --git a/ntfy/ntfy.go b/ntfy/ntfy.go index 5263f3e..928b2c9 100644 --- a/ntfy/ntfy.go +++ b/ntfy/ntfy.go @@ -67,7 +67,7 @@ func Notify() { return } req, _ := http.NewRequest("POST", cfg.URI(), strings.NewReader("New message received")) - req.Header.Set("Title", "ProtoMail") + req.Header.Set("Title", "ProtonMail") req.Header.Set("Click", "dismiss") req.Header.Set("Tags", "envelope") if _, err := http.DefaultClient.Do(req); err != nil {