diff --git a/api/v1/runner.ts b/api/v1/runner.ts index 00ffe7b..1af3d56 100644 --- a/api/v1/runner.ts +++ b/api/v1/runner.ts @@ -1,7 +1,9 @@ import { PluginsMap } from '../../plugins'; import { OpenAIPluginPayload } from '../../types/plugins'; -export const runtime = 'edge'; +export const config = { + runtime: 'edge', +}; export default async (req: Request) => { if (req.method !== 'POST') return new Response('Method Not Allowed', { status: 405 });