The root endpoint provides the URL of the log cache in the key "log_cache", but the code accesses it with the key "log-cache", never returning the correct value.
There is a fallback which uses the api-endpoint and replaces any occurrence of "api" with "log-cache". This works in most of the cases, but not if the letters "api" are part of the remaining URL.