Skip to content

Commit

Permalink
fix(explorer): force dynamic worlds page (#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis authored Sep 2, 2024
1 parent c716669 commit fc1e2a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/explorer/src/app/(explorer)/worlds/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { notFound, redirect } from "next/navigation";

export default async function WorldsPage() {
export const dynamic = "force-dynamic";

export default function WorldsPage() {
const worldAddress = process.env.WORLD_ADDRESS;
if (worldAddress) return redirect(`/worlds/${worldAddress}`);
return notFound();
Expand Down

0 comments on commit fc1e2a5

Please sign in to comment.