feat: Add example configuration file

This commit is contained in:
krau
2024-10-10 23:39:47 +08:00
parent e168874c9a
commit 67ff41b6aa

23
config.example.toml Normal file
View File

@@ -0,0 +1,23 @@
[telegram]
token = ""
admins = []
[log]
level = "DEBUG"
[temp]
base_path = "cache/"
cache_ttl = 30
[storage]
[storage.alist]
enable = true
base_path = "/telegram"
username = "admin"
password = "password"
url = "https://alist.com"
token_exp = 86400
[storage.local]
enable = true
base_path = "downloads/"