diff --git a/packages/next/src/server/image-optimizer.ts b/packages/next/src/server/image-optimizer.ts index 58799699503f0..87823065b6c8f 100644 --- a/packages/next/src/server/image-optimizer.ts +++ b/packages/next/src/server/image-optimizer.ts @@ -199,7 +199,9 @@ export class ImageOptimizerCache { } if (url.startsWith('//')) { - return { errorMessage: '"url" parameter cannot be a protocol-relative URL (//)'} + return { + errorMessage: '"url" parameter cannot be a protocol-relative URL (//)', + } } let isAbsolute: boolean