File tree Expand file tree Collapse file tree 10 files changed +10
-8
lines changed
Expand file tree Collapse file tree 10 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 88 "build" : " next build"
99 },
1010 "dependencies" : {
11+ "@vercel/og" : " latest" ,
1112 "next" : " latest" ,
1213 "react" : " 18.2.0" ,
1314 "react-dom" : " 18.2.0"
Original file line number Diff line number Diff line change 1- import { ImageResponse } from 'next /og'
1+ import { ImageResponse } from '@vercel /og'
22
33export async function GET ( ) {
44 return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 1- import { ImageResponse } from 'next /og'
1+ import { ImageResponse } from '@vercel /og'
22
33export async function GET ( ) {
44 return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 11// /pages/api/og.jsx
2- import { ImageResponse } from 'next /og'
2+ import { ImageResponse } from '@vercel /og'
33
44export default function ( ) {
55 return new ImageResponse (
Original file line number Diff line number Diff line change 11// /pages/api/og.jsx
2- import { ImageResponse } from 'next /og'
2+ import { ImageResponse } from '@vercel /og'
33
44export const config = {
55 runtime : 'edge' ,
Original file line number Diff line number Diff line change 1- import { ImageResponse } from 'next /og'
1+ import { ImageResponse } from '@vercel /og'
22
33export async function GET ( ) {
44 return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 1- import { ImageResponse } from 'next /og'
1+ import { ImageResponse } from '@vercel /og'
22
33export async function GET ( ) {
44 return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 88 "build" : " next build"
99 },
1010 "dependencies" : {
11+ "@vercel/og" : " latest" ,
1112 "next" : " latest" ,
1213 "react" : " 18.2.0" ,
1314 "react-dom" : " 18.2.0"
Original file line number Diff line number Diff line change 11// /pages/api/og.jsx
2- import { ImageResponse } from 'next /og'
2+ import { ImageResponse } from '@vercel /og'
33
44export default function ( ) {
55 return new ImageResponse (
Original file line number Diff line number Diff line change 11// /pages/api/og.jsx
2- import { ImageResponse } from 'next /og'
2+ import { ImageResponse } from '@vercel /og'
33
44export const config = {
55 runtime : 'edge' ,
You can’t perform that action at this time.
0 commit comments