Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: social images #651

Merged
merged 4 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fonts issue
  • Loading branch information
transitive-bullshit committed Nov 8, 2024
commit 6394b01ed0c1ded6ca44468b76e0998b1217efb7
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions pages/api/social-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ import {
} from 'notion-utils'

import * as libConfig from '@/lib/config'
import interRegularFont from '@/lib/fonts/inter-regular'
import interSemiBoldFont from '@/lib/fonts/inter-semibold'
import { mapImageUrl } from '@/lib/map-image-url'
import { notion } from '@/lib/notion-api'
import { type NotionPageInfo, type PageError } from '@/lib/types'

import interRegularFont from '../fonts/inter-regular'
import interSemiBoldFont from '../fonts/inter-semibold'

export const runtime = 'edge'

export default async function OGImage(
Expand Down