We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nuxtContext
1 parent ceb4ad8 commit 37f09b0Copy full SHA for 37f09b0
1 file changed
src/runtime/providers/ipx.ts
@@ -26,7 +26,7 @@ export const getImage: ProviderGetImage = (src, { modifiers = {}, baseURL } = {}
26
const params = operationsGenerator(modifiers) || '_'
27
28
if (!baseURL) {
29
- baseURL = joinURL(ctx.nuxtContext.base || '/', '/_ipx')
+ baseURL = joinURL(ctx.nuxtContext?.base || '/', '/_ipx')
30
}
31
32
return {
0 commit comments