From 39cdbd0a5e09d4d7ed407cc384db92af879809d3 Mon Sep 17 00:00:00 2001 From: Guillermo Alejandro Gallardo Diez Date: Mon, 27 Jan 2025 14:27:01 +0100 Subject: [PATCH 1/2] fix: learn page --- src/pages/[...arbitrary].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[...arbitrary].tsx b/src/pages/[...arbitrary].tsx index 8beb723e6..23e3311ee 100644 --- a/src/pages/[...arbitrary].tsx +++ b/src/pages/[...arbitrary].tsx @@ -10,7 +10,6 @@ const extendableRoutes: Record = { // on demand at runtime const extendableFallbacks: Record = { ecosystem: 'https://pages.near.org/ecosystem', - learn: 'https://pages.near.org/learn', }; const finiteRoutes: Record = { @@ -25,6 +24,7 @@ const finiteRoutes: Record = { education: 'https://pages.near.org/education', examples: 'https://pages.near.org/examples', lisbon: 'https://pages.near.org/lisbon', + learn: 'https://pages.near.org/learn', meetings: 'https://pages.near.org/meetings', metabuild: 'https://pages.near.org/metabuild', miami: 'https://pages.near.org/miami', From 145ae9990ff8cbbd874cc744ac61db1ba63a4e27 Mon Sep 17 00:00:00 2001 From: Guillermo Alejandro Gallardo Diez Date: Mon, 27 Jan 2025 14:39:13 +0100 Subject: [PATCH 2/2] fix: redirect for sandbox --- next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/next.config.js b/next.config.js index 02f06d4cb..c696cf846 100644 --- a/next.config.js +++ b/next.config.js @@ -113,6 +113,11 @@ const nextConfig = { destination: 'https://wallet.near.org', permanent: true, }, + { + source: '/sandbox', + destination: 'https://near.social/edit', + permanent: true, + }, ]; }, rewrites: async () => [