Skip to content

Commit 0eb1290

Browse files
committed
use imageCDNCompat mode with ipx ef
1 parent fc271eb commit 0eb1290

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/build/templates/ipx-edge-accept-handler.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ import { getHandler } from 'https://ipx-edge-function-layer.netlify.app/mod.ts'
66
// @ts-ignore Injected at build time
77
import imageconfig from './imageconfig.json' assert { type: 'json' }
88

9-
export default getHandler({ formats: imageconfig?.formats, basePath: imageconfig?.basePath })
9+
export default getHandler({
10+
formats: imageconfig?.formats,
11+
basePath: imageconfig?.basePath,
12+
imageCDNCompat: true,
13+
})

0 commit comments

Comments
 (0)