We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ebb07 commit 619c569Copy full SHA for 619c569
app.js
@@ -15,10 +15,11 @@ app.use(cors());
15
app.options('*',cors());
16
17
// Middlewares
18
-app.use(bodyParser.json());
19
-app.use(bodyParser.urlencoded({ extended: true }))
+app.use(bodyParser.json({ limit: '50mb' }));
+app.use(bodyParser.urlencoded({ extended: true, limit: '50mb' }))
20
app.use(morgan('tiny'));
21
app.use(authJwt());
22
+app.use('/public/uploads', express.static( __dirname + '/public/uploads'));
23
app.use(errorHandler);
24
25
const api = process.env.API_URL;
0 commit comments