fix formidable backend

This commit is contained in:
Raphael 2024-05-07 20:08:37 +02:00
parent 52ee03d286
commit 41f62d2303

View File

@ -135,7 +135,7 @@ export default function startBackendServer(port) {
*/
app.post("/api/upload", function (req, res) {
//File upload
var form = new formidable.IncomingForm(); //Receive form
var form = formidable({}); //Receive form
var formData = {
files: {},
fields: {},