Skip to content

Instantly share code, notes, and snippets.

View orpheousff8's full-sized avatar
🤪
crazy

Saracha Tongkumpunt orpheousff8

🤪
crazy
  • Bangkok
View GitHub Profile
@agmm
agmm / nextjs-file-upload-api.js
Created January 31, 2020 23:03
Simple Nextjs File Upload — Backend API
// Backend
import formidable from 'formidable';
export const config = {
api: {
bodyParser: false,
},
};
export default async (req, res) => {