Skip to content

Commit 36b2f7d

Browse files
committed
Try very high staticPageGenerationTimeout value
1 parent b3827b8 commit 36b2f7d

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

apps/dashboard/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ const moduleExports = {
164164
emotion: true,
165165
},
166166
productionBrowserSourceMaps: false,
167+
staticPageGenerationTimeout: 500,
167168
};
168169

169170
const { withSentryConfig } = require("@sentry/nextjs");

apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,3 @@ export async function generateStaticParams() {
144144
params: { category },
145145
}));
146146
}
147-
148-
// TODO - figure out why this page is not building if we let it be static
149-
export const dynamic = "force-dynamic";

apps/dashboard/src/app/(dashboard)/explore/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,3 @@ export default async function ExplorePage() {
5757
</div>
5858
);
5959
}
60-
61-
// TODO - figure out why this page is not building if we let it be static
62-
export const dynamic = "force-dynamic";

0 commit comments

Comments
 (0)