1
0
Fork 0
Commit graph

10 commits

Author SHA1 Message Date
Pablo Ovelleiro Corral
48cf817171
Merge pull request #3 from pinpox/add-license-1
Create LICENCE
2023-03-01 22:14:35 +01:00
Pablo Ovelleiro Corral
3394f22171
Create LICENCE 2023-03-01 22:14:21 +01:00
Pablo Ovelleiro Corral
220226f468
Merge pull request #1 from jaseemabid/main
Enable basic auth only if username/password is set
2023-02-14 16:18:47 +01:00
Jaseem Abid
cc35ddbe0f Enable basic auth only if username/password is set
Empty password leads to an authorization error, which isn't ideal.

Also log the response in case its an error, I think this would be handy
in case the upstream starts misbehaving. By default won't add to log
noise.

Example:

```
curl -s -u ':' -d "test" ntfy.sh/test  | jq .
{
  "code": 40101,
  "http": 401,
  "error": "unauthorized",
  "link": "https://ntfy.sh/docs/publish/#authentication"
}
```
2023-02-10 19:35:21 +00:00
Pablo Ovelleiro Corral
c658a0fd33
Add more logging 2022-11-04 08:32:26 +01:00
Pablo Ovelleiro Corral
acd656c6ea
Skip resolved messsages 2022-11-04 07:45:37 +01:00
Pablo Ovelleiro Corral
911bf2fa92
Add priority 2022-11-03 11:14:36 +01:00
Pablo Ovelleiro Corral
1beeb0a7b6
Update flake 2022-11-02 16:50:31 +01:00
Pablo Ovelleiro Corral
492d64123c
Update README.md 2022-11-02 14:48:45 +01:00
Pablo Ovelleiro Corral
4c0c0bf056
initial commit 2022-11-02 14:46:55 +01:00