Skip to content

Commit 28c71ce

Browse files
ascorbicnickytonline
authored andcommitted
chore: pass object to getHandler
1 parent e18347c commit 28c71ce

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime/src/templates/edge

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/edge/ipx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { getHandler } from 'https://ipx-edge-function-layer.netlify.app/mod.ts'
22

33
import imageconfig from './imageconfig.json' assert { type: 'json' }
44

5-
export default getHandler(imageconfig?.formats)
5+
export default getHandler({ formats: imageconfig?.formats })

0 commit comments

Comments
 (0)