Skip to content

Commit

Permalink
Convert og.tsx to use require
Browse files Browse the repository at this point in the history
  • Loading branch information
sghuang19 committed Feb 16, 2025
1 parent b994412 commit 3ddda89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions api/og.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { ImageResponse } from "@vercel/og";
import { chromium } from "playwright";
// import { chromium } from "playwright";

let element;
const { ImageResponse } = require("@vercel/og");

// let element;

async () => {
// const browser = await chromium.launch();
Expand Down

0 comments on commit 3ddda89

Please sign in to comment.