10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2025-04-29 19:55:01 +02:00

deploy: c085809936b71567696d0121ec23d39a6f7b1579

This commit is contained in:
scemama 2020-11-29 23:18:02 +00:00
parent cee6c0db4a
commit 8535c8d9a5

View File

@ -10,7 +10,11 @@ var fileCache = function () {
_cache = fileCache();
function getTextFromFileUrl(url,header={}) {
return _cache[url];
if (url in _cache) {
return _cache[url];
} else {
return async () => {await getTextFromFileUrlAsync(url)};
}
}