diff --git a/next.config.mjs b/next.config.mjs index 84af8df2ac..25fad95f4a 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -22,7 +22,7 @@ let nextConfig = { // @see https://vercel.com/blog/version-skew-protection useDeploymentId: true, - + webpackBuildWorker: true, useDeploymentIdServerActions: true, }, diff --git a/src/app/api/og/route.tsx b/src/app/api/og/route.tsx index fe914acd60..a07d8e7e83 100644 --- a/src/app/api/og/route.tsx +++ b/src/app/api/og/route.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' import uniqolor from 'uniqolor' import type { AggregateRoot } from '@mx-space/api-client' import type { NextRequest } from 'next/server'