Skip to content

Instantly share code, notes, and snippets.

View matixlol's full-sized avatar
:shipit:
vibecodeando

Matias matixlol

:shipit:
vibecodeando
View GitHub Profile
@matixlol
matixlol / @opennextjs__cloudflare.patch
Created February 3, 2026 22:28
opennext/cloudflare: allow payloadcms to fetch from api instead of forwarding to static ASSETS
diff --git a/dist/cli/templates/images.js b/dist/cli/templates/images.js
index e9b59bf14975e25e446632ac3dc3ab190480ee42..7eb9a26bb4a3da07c3b10bec725147d385de30dc 100644
--- a/dist/cli/templates/images.js
+++ b/dist/cli/templates/images.js
@@ -1,4 +1,4 @@
-import { error, warn } from "@opennextjs/aws/adapters/logger.js";
+import { warn } from "@opennextjs/aws/adapters/logger.js";
/**
* Handles requests to /_next/image(/), including image optimizations.
*