Skip to content

Commit 090185c

Browse files
committed
revert back to vercel/og, as that's not available in next@13
1 parent d1ec9d2 commit 090185c

File tree

10 files changed

+10
-8
lines changed

10 files changed

+10
-8
lines changed

tests/fixtures/wasm-src/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
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"

tests/fixtures/wasm-src/src/app/og-node/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from 'next/og'
1+
import { ImageResponse } from '@vercel/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm-src/src/app/og/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from 'next/og'
1+
import { ImageResponse } from '@vercel/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm-src/src/pages/api/og-wrong-runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from 'next/og'
2+
import { ImageResponse } from '@vercel/og'
33

44
export default function () {
55
return new ImageResponse(

tests/fixtures/wasm-src/src/pages/api/og.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from 'next/og'
2+
import { ImageResponse } from '@vercel/og'
33

44
export const config = {
55
runtime: 'edge',

tests/fixtures/wasm/app/og-node/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from 'next/og'
1+
import { ImageResponse } from '@vercel/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm/app/og/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from 'next/og'
1+
import { ImageResponse } from '@vercel/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
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"

tests/fixtures/wasm/pages/api/og-wrong-runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from 'next/og'
2+
import { ImageResponse } from '@vercel/og'
33

44
export default function () {
55
return new ImageResponse(

tests/fixtures/wasm/pages/api/og.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from 'next/og'
2+
import { ImageResponse } from '@vercel/og'
33

44
export const config = {
55
runtime: 'edge',

0 commit comments

Comments
 (0)