From 9f98c853db90ad876470e4dd21edc0d4bb24b10a Mon Sep 17 00:00:00 2001 From: Omar Najjar Date: Mon, 31 Mar 2025 18:36:54 +1100 Subject: [PATCH] x --- worker.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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") {