diff --git a/.gitignore b/.gitignore index b7db66d..099f2cf 100644 --- a/.gitignore +++ b/.gitignore @@ -129,3 +129,5 @@ dist .yarn/install-state.gz .pnp.* .wrangler +db/ +db/* \ No newline at end of file diff --git a/src/worker.js b/src/worker.js index 1182112..a0ee522 100644 --- a/src/worker.js +++ b/src/worker.js @@ -26,7 +26,7 @@ async function recordDownload(url, env) { console.log('Found in KV'); var newCount = oldNum++; await KV.put(packName, newCount); - console.log(packName + ' now has ' + newCount + ' downloads'); + console.log(packName + ' now has ' + newCount + ' downloads (had ' + oldNum + ')'); } //Redirect the user to the download link