Skip to content

Commit fc271eb

Browse files
committed
support base path with edge accept handler
1 parent 556ec8f commit fc271eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ 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 })
9+
export default getHandler({ formats: imageconfig?.formats, basePath: imageconfig?.basePath })

0 commit comments

Comments
 (0)