Skip to content

Commit

Permalink
add explorer to explore redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Sep 17, 2024
1 parent b527702 commit 07b1af3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/explorer/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ export default function config() {
config.externals.push("pino-pretty", "lokijs", "encoding");
return config;
},
redirects: async () => {
return [
{
source: "/:chainName/worlds/:worldAddress/explorer",
destination: "/:chainName/worlds/:worldAddress/explorer",
permanent: true,
},
];
},
};

return nextConfig;
Expand Down

0 comments on commit 07b1af3

Please sign in to comment.