chore: add cache to static pages in app router (#18278)

* add cache

* fix

* refactor
This commit is contained in:
Benny Joo authored and GitHub committed 2024-12-20 13:37:20 -05:00
1 parent 6f1556a2fd
commit e04faffcbb
5 files changed
+25 -18

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export const generateMetadata = async () => {
);
};
const getData = withAppDirSsg(getStaticProps);
const getData = withAppDirSsg(getStaticProps, "future/auth/error");
export default WithLayout({ getData, Page, getLayout: null })<"P">;
export const dynamic = "force-static";