© 2026 Hedgehog Software, LLC
export default { async fetch(request, env, ctx) { const keys = new Set(); let cursor = undefined; async function gatherKeys() { while (true) { const result = await env.LOG_IP.list({ cursor }); for (const { name } of result.keys) { keys.add(name); } if (result.list_complete) { break; } cursor = result.cursor; } } await gatherKeys(); const keysArray = Array.from(keys.values()); const keysText = keysArray.join('\n'); return new Response(keysText, { status: 200, headers: { 'Content-Type': 'text/plain' }, }); }, };
Join the Discord to ask follow-up questions and connect with the community
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
87,367 Members