Skip to content

Commit 6394b01

Browse files
fix: fonts issue
1 parent 3eaa013 commit 6394b01

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
File renamed without changes.
File renamed without changes.

pages/api/social-image.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ import {
1010
} from 'notion-utils'
1111

1212
import * as libConfig from '@/lib/config'
13+
import interRegularFont from '@/lib/fonts/inter-regular'
14+
import interSemiBoldFont from '@/lib/fonts/inter-semibold'
1315
import { mapImageUrl } from '@/lib/map-image-url'
1416
import { notion } from '@/lib/notion-api'
1517
import { type NotionPageInfo, type PageError } from '@/lib/types'
1618

17-
import interRegularFont from '../fonts/inter-regular'
18-
import interSemiBoldFont from '../fonts/inter-semibold'
19-
2019
export const runtime = 'edge'
2120

2221
export default async function OGImage(

0 commit comments

Comments
 (0)