Skip to content

Commit

Permalink
fix: update import for ImageResponse next
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekacru committed Jan 28, 2024
1 parent fd1811b commit 3f7d3bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/app/api/og/blog/route.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { formatDate } from "@/lib/utils";
import { allChangelogPosts } from "contentlayer/generated";
import { ImageResponse } from "next/server";
import { ImageResponse } from 'next/og'

export const runtime = "edge";

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/app/api/og/changelog/route.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { formatDate } from "@/lib/utils";
import { allChangelogPosts } from "contentlayer/generated";
import { ImageResponse } from "next/server";
import { ImageResponse } from 'next/og'

export const runtime = "edge";

Expand Down

0 comments on commit 3f7d3bc

Please sign in to comment.