From 128ea4ef2a3a20c54b9efe7473db9c82aa9b8d8d Mon Sep 17 00:00:00 2001 From: lollerfirst Date: Sun, 24 Nov 2024 19:00:48 +0100 Subject: [PATCH] expire 0 -> null --- XX.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XX.md b/XX.md index d1d1014..c0a2b4d 100644 --- a/XX.md +++ b/XX.md @@ -37,7 +37,7 @@ The entry must be structured as follows: "nuts": { ..., "xx": { - "ttl": , + "ttl": , "cached_endpoints": [ { "path": "v1/{mint|melt}/{method}", @@ -56,7 +56,7 @@ The entry must be structured as follows: Where `ttl` is the amount of seconds the responses are cached for and `cached_endpoints` is a list of the routes for which caching is enabled. `path` and `method` describe respectively the cached route and its method. -if `ttl` is set to 0, then the responses are to be considered cached *indefinetely* +if `ttl` is null, the responses are to be considered cached *indefinetely*. ## Example