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 322da87 commit a2dd1f1Copy full SHA for a2dd1f1
packages/runtime/src/helpers/edge.ts
@@ -452,8 +452,7 @@ export const writeEdgeFunctions = async ({
452
}
453
454
455
- if (destr(process.env.NEXT_FORCE_EDGE_IMAGES)) {
456
- if (
+ if (destr(process.env.NEXT_FORCE_EDGE_IMAGES) &&
457
!destr(process.env.NEXT_DISABLE_EDGE_IMAGES) &&
458
!destr(process.env.DISABLE_IPX)
459
) {
@@ -474,7 +473,6 @@ export const writeEdgeFunctions = async ({
474
473
path: '/_next/image*',
475
})
476
477
- }
478
479
if (usesEdge) {
480
console.log(outdent`
0 commit comments