From cf35bbf591472061ef55823178c2f9d8964faabe Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Mon, 3 Feb 2025 18:21:06 +0000 Subject: [PATCH] update external rewrite destination in pages-router the current url used for the pages-router external rewrite (https://opennext.js.org/share.png) errors when being fetched from a Cloudflare worker, to solve that the url has been updated to a github link (https://raw.githubusercontent.com/opennextjs/docs/refs/heads/main/public/share.png) which points to the same exact image --- examples/pages-router/next.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/pages-router/next.config.ts b/examples/pages-router/next.config.ts index 8ed04b226..d980b11a5 100644 --- a/examples/pages-router/next.config.ts +++ b/examples/pages-router/next.config.ts @@ -40,7 +40,8 @@ const nextConfig: NextConfig = { }, { source: "/external-on-image", - destination: "https://opennext.js.org/share.png", + destination: + "https://raw.githubusercontent.com/opennextjs/docs/refs/heads/main/public/share.png", }, ], redirects: async () => [