Fix Next.js
This commit is contained in:
1 parent
ea4e787d1c
commit
c6b82e5114
1 file changed
-5
@@ -62,8 +62,3 @@ export async function POST(req: NextRequest) {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Nonaktifkan body parser bawaan Next.js — biar formData diurus manual
|
||||
export const config = {
|
||||
api: { bodyParser: false },
|
||||
};
|
||||
Reference in new issue
Block a user