Skip to content

Commit b742f0e

Browse files
authored
Update packages/cloudflare/src/cli/templates/worker.ts
1 parent ad37fc1 commit b742f0e

File tree

1 file changed

+1
-0
lines changed
  • packages/cloudflare/src/cli/templates

1 file changed

+1
-0
lines changed

packages/cloudflare/src/cli/templates/worker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default {
3333
populateProcessEnv(url, env.NEXTJS_ENV);
3434

3535
// Serve images in development.
36+
// Note: "/cdn-cgi/image/..." requests do not reach production workers.
3637
if (url.pathname.startsWith("/cdn-cgi/image/")) {
3738
const m = url.pathname.match(/\/cdn-cgi\/image\/.+?\/(?<url>.+)$/);
3839
if (m === null) {

0 commit comments

Comments
 (0)