Skip to content

Commit d270893

Browse files
committed
chore: Add cache directory and TTL to webdav storage configuration
1 parent 61a951e commit d270893

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

config.example.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ enable = true
3737

3838
[storage]
3939
type = "webdav"
40+
cache_dir = "./cache"
41+
cache_ttl = 20
42+
4043
[storage.webdav]
4144
url = ""
4245
username = ""
4346
password = ""
4447
path = "/"
45-
cache_dir = "./cache"
46-
cache_ttl = 20
48+
4749

4850
[telegram]
4951
token = ""

0 commit comments

Comments
 (0)