File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/app/(main)/(markdown)/blog Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const branchName =
88 execSync ( "git branch --show-current" ) . toString ( ) . trim ( ) ;
99const commit =
1010 process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA ||
11+ process . env . VERCEL_GIT_COMMIT_SHA ||
1112 process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF ||
1213 process . argv . includes ( "--dev" )
1314 ? branchName
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ export const metadata: Metadata = {
2424 keywords : [ "blog" , "release notes" ] ,
2525} ;
2626
27+ // TODO: See if there is another way to handle this. vercel does not keep the files
28+ // so this fails without the run-time bundling. this does make it so this page is
29+ // forced to use system theme and none of the user preferences.
30+ export const dynamic = "force-static" ;
31+
2732const DATE_FORMATTER = Intl . DateTimeFormat ( "en-US" , {
2833 weekday : "short" ,
2934 month : "short" ,
You can’t perform that action at this time.
0 commit comments