File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { TitleSubtitleCard } from "~/components/social-card-images/title-subtitl
77import { queryTalk } from "~/types" ;
88
99export const config = {
10- runtime : "edge" ,
10+ runtime : process . env . VERCEL_ENV === "preview" ? undefined : "edge" ,
1111 unstable_allowDynamic : [ "/node_modules/.pnpm/**" ] ,
1212} ;
1313
@@ -19,7 +19,7 @@ const regularFont = fetch(
1919) . then ( ( res ) => res . arrayBuffer ( ) ) ;
2020const semiBoldFont = fetch (
2121 new URL (
22- "../../../../../social-card-font/GeneralSans-Bold .otf" ,
22+ "../../../../../social-card-font/GeneralSans-Semibold .otf" ,
2323 import . meta. url ,
2424 ) ,
2525) . then ( ( res ) => res . arrayBuffer ( ) ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { TitleSubtitleCard } from "~/components/social-card-images/title-subtitl
77import { queryTalk } from "~/types" ;
88
99export const config = {
10- runtime : "edge" ,
10+ runtime : process . env . VERCEL_ENV === "preview" ? undefined : "edge" ,
1111 unstable_allowDynamic : [ "/node_modules/.pnpm/**" ] ,
1212} ;
1313
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { TitleSubtitleCard } from "~/components/social-card-images/title-subtitl
77import { queryNewsArticle } from "~/types" ;
88
99export const config = {
10- runtime : "edge" ,
10+ runtime : process . env . VERCEL_ENV === "preview" ? undefined : "edge" ,
1111 unstable_allowDynamic : [ "/node_modules/.pnpm/**" ] ,
1212} ;
1313
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { Language } from "~/locale/languages";
88import { querySocialCard } from "~/types" ;
99
1010export const config = {
11- runtime : "edge" ,
11+ runtime : process . env . VERCEL_ENV === "preview" ? undefined : "edge" ,
1212 unstable_allowDynamic : [ "/node_modules/.pnpm/**" ] ,
1313} ;
1414
You can’t perform that action at this time.
0 commit comments