We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad37fc1 commit b742f0eCopy full SHA for b742f0e
packages/cloudflare/src/cli/templates/worker.ts
@@ -33,6 +33,7 @@ export default {
33
populateProcessEnv(url, env.NEXTJS_ENV);
34
35
// Serve images in development.
36
+ // Note: "/cdn-cgi/image/..." requests do not reach production workers.
37
if (url.pathname.startsWith("/cdn-cgi/image/")) {
38
const m = url.pathname.match(/\/cdn-cgi\/image\/.+?\/(?<url>.+)$/);
39
if (m === null) {
0 commit comments