Skip to content

Commit

Permalink
rm log
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Aug 7, 2024
1 parent 792e4af commit 760c26c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/next/src/server/image-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export class ImageOptimizerCache {
const parsedUrl = parseUrl(url)
if (parsedUrl) {
const decodedPathname = decodeURIComponent(parsedUrl.pathname)
console.log('decodedPathname', decodedPathname)
if (/\/_next\/image($|\/)/.test(decodedPathname)) {
return {
errorMessage: '"url" parameter cannot be recursive',
Expand Down

0 comments on commit 760c26c

Please sign in to comment.