feat!: distinguish URLs and hosts

BREAKING CHANGE: the configuration for Bitmagnet and Ntfy has changed.
Instead of `host`, they now use `url`.
This commit is contained in:
Marc Plano-Lesay 2025-05-22 21:57:51 +10:00
parent 01fecffc90
commit bb32cfdf97
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
10 changed files with 59 additions and 50 deletions

View file

@ -50,13 +50,13 @@ download_dir = "/downloads" # Optional
# BitMagnet configuration
[bitmagnet]
enable = true
host = "http://localhost:3333"
url = "http://localhost:3333"
# Ntfy configuration
[ntfy]
enable = true
topic = "reddit-magnet"
host = "https://ntfy.sh"
url = "https://ntfy.sh"
username = "username" # Optional
password = "password" # Optional