Skip to content

Commit

Permalink
Fixed edge runtime issue on Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
pdovhomilja committed Dec 12, 2023
1 parent d23d195 commit 9551118
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/api/openai/create-chat-completion/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { NextResponse } from "next/server";
import { prismadb } from "@/lib/prisma";
import { openai } from "@/lib/openai";

export const runtime = "edge";
export const maxDuration = 300;

export async function POST(req: Request) {
Expand Down

4 comments on commit 9551118

@vercel
Copy link

@vercel vercel bot commented on 9551118 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-others – ./

nextcrm-others-git-main-e-osvc.vercel.app
others.nextcrm.io
nextcrm-others-e-osvc.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9551118 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9551118 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-demo – ./

nextcrm-demo-e-osvc.vercel.app
nextcrm-demo-git-main-e-osvc.vercel.app
demo.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 9551118 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-test – ./

nextcrm-test-git-main-e-osvc.vercel.app
test.nextcrm.io
nextcrm-test-e-osvc.vercel.app

Please sign in to comment.