Fix typo in notification, tweak readme
This commit is contained in:
parent
cb3c36c6ea
commit
544eb93e05
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue