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 8
8
"build" : " next build"
9
9
},
10
10
"dependencies" : {
11
+ "@vercel/og" : " latest" ,
11
12
"next" : " latest" ,
12
13
"react" : " 18.2.0" ,
13
14
"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'
2
2
3
3
export async function GET ( ) {
4
4
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'
2
2
3
3
export async function GET ( ) {
4
4
return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 1
1
// /pages/api/og.jsx
2
- import { ImageResponse } from 'next /og'
2
+ import { ImageResponse } from '@vercel /og'
3
3
4
4
export default function ( ) {
5
5
return new ImageResponse (
Original file line number Diff line number Diff line change 1
1
// /pages/api/og.jsx
2
- import { ImageResponse } from 'next /og'
2
+ import { ImageResponse } from '@vercel /og'
3
3
4
4
export const config = {
5
5
runtime : 'edge' ,
Original file line number Diff line number Diff line change 1
- import { ImageResponse } from 'next /og'
1
+ import { ImageResponse } from '@vercel /og'
2
2
3
3
export async function GET ( ) {
4
4
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'
2
2
3
3
export async function GET ( ) {
4
4
return new ImageResponse ( < div > hi</ div > , {
Original file line number Diff line number Diff line change 8
8
"build" : " next build"
9
9
},
10
10
"dependencies" : {
11
+ "@vercel/og" : " latest" ,
11
12
"next" : " latest" ,
12
13
"react" : " 18.2.0" ,
13
14
"react-dom" : " 18.2.0"
Original file line number Diff line number Diff line change 1
1
// /pages/api/og.jsx
2
- import { ImageResponse } from 'next /og'
2
+ import { ImageResponse } from '@vercel /og'
3
3
4
4
export default function ( ) {
5
5
return new ImageResponse (
Original file line number Diff line number Diff line change 1
1
// /pages/api/og.jsx
2
- import { ImageResponse } from 'next /og'
2
+ import { ImageResponse } from '@vercel /og'
3
3
4
4
export const config = {
5
5
runtime : 'edge' ,
You can’t perform that action at this time.
0 commit comments