We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0cab2f commit 0078d79Copy full SHA for 0078d79
next.config.mjs
@@ -52,7 +52,6 @@ let nextConfig = {
52
config.externals.push({
53
'utf-8-validate': 'commonjs utf-8-validate',
54
bufferutil: 'commonjs bufferutil',
55
- 'node-fetch': 'commonjs node-fetch',
56
})
57
58
// if (
src/app/api/ai/summary/route.ts
@@ -9,7 +9,6 @@ import { apiClient } from '~/lib/request'
9
10
const openai = new OpenAI({
11
apiKey: process.env.OPENAI_API_KEY,
12
- fetch,
13
14
15
export const GET = async (req: NextRequest) => {
0 commit comments