Fix typo in notification, tweak readme

This commit is contained in:
Jarno Rankinen 2024-06-30 21:53:24 +03:00
parent cb3c36c6ea
commit 544eb93e05
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ to get notified of new mail. See original repo for details on operation.
## Setup ## Setup
Download (soon), build the binary or the container image or pull the container image yourself. Download or build the binary, pull the pre-built container image or build the image yourself.
Simplest way is to run the container image. Simplest way is to run the pre-built container image.
Login and push gateway details are saved under `$HOME/.config/hydroxide`. The container 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. image saves configuration under `/data`, so mount a named volume or host directory there.

View File

@ -67,7 +67,7 @@ func Notify() {
return return
} }
req, _ := http.NewRequest("POST", cfg.URI(), strings.NewReader("New message received")) 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("Click", "dismiss")
req.Header.Set("Tags", "envelope") req.Header.Set("Tags", "envelope")
if _, err := http.DefaultClient.Do(req); err != nil { if _, err := http.DefaultClient.Do(req); err != nil {