There’s a known issue right now with various APIs throwing 500s. It’s being investigated and a fix s
There’s a known issue right now with various APIs throwing 500s. It’s being investigated and a fix should be out soon. Sorry for any inconvenience.
Cloudflare API in Pages Functions may also have been affected returning intermittent 500 errors.Thanks for the report @simpson2
A fix has been implemented and we are monitoring the results.
functions/, and if so, will it become a route?functions/? Say I have web/src/utils.ts, can I import that from a function?
fetch options and I'm at my wit's end... https://developers.cloudflare.com/images/image-resizing/resize-with-workers/#an-example-worker
functions/utils.ts, will that automatically become a route too, or does it need a onRequest or onRequestGet/Post/etc to become a route (which becomes listed in _routes.json which is automatically generated)onRequest* export is present

npx wrangler pages dev -- npm run dev http://127.0.0.1:8788/helloworld = "Hello World"nuxt.js) and i don't know how to override this / configure it to point to the pages function.functions) which import npm packages? (e.g. functions/index.ts -> src/schema.ts -> zod)/serverdirectory? I've spent hours pouring over docs and I can't figure out how to do it. I'd be happy to write / contribute a documentation snippet or just include it in that github for others, I just don't know what to do.google-auth-library that will work in a function?/functions to secure some pages. But when the url has double slashes //, wrangler doesn't run the middleware for the url./functions/secure directory to be applied on all routes of /secure./out/secure directory contains a file one.html which should be served at /secure/one (but first the middleware needs to be invoked)/secure/one route but not on the //secure/one, whenever someone uses a double slash before the middleware directory, wrangler doesn't run the middleware and instead directly serve the pages./secure/one route – https://double-slashes-issue.pages.dev/secure/one//secure/one route – https://double-slashes-issue.pages.dev//secure/one/secure/one?allow route – https://double-slashes-issue.pages.dev/secure/one?allow (that's actually allowed by middleware)web/src/utils.ts