Update route.js

This commit is contained in:
suraj.shenoy.b@gmail.com
2025-01-25 20:58:00 -06:00
parent 24a69e953f
commit c944f60d2b

View File

@@ -19,12 +19,6 @@ const openaiClient = new OpenAI({
apiKey: OPENAI_API_KEY,
});
export const apiconfig = {
api: {
bodyParser: false, // Disable default body parsing
},
};
// Helper to parse multipart form data
async function parseMultipartForm(req) {
const form = formidable({