diff --git a/worker.js b/worker.js index cce334d..938561a 100644 --- a/worker.js +++ b/worker.js @@ -27,11 +27,11 @@ export default { return handleOptions(); } - // Check if this is an API request (starts with /api/) - if (!path.startsWith('/api/')) { - // For non-API routes, pass through to Cloudflare Pages - return fetch(request); - } + // // Check if this is an API request (starts with /api/) + // if (!path.startsWith('/api/')) { + // // For non-API routes, pass through to Cloudflare Pages + // return fetch(request); + // } // For GET requests, try to serve from cache first if (request.method === "GET") {