Increased API body size to 10MB.
This commit is contained in:
parent
0d7e199e37
commit
2dd3a54a8a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class App {
|
||||||
this.port = port;
|
this.port = port;
|
||||||
|
|
||||||
app.use(cors());
|
app.use(cors());
|
||||||
app.use(bodyParser.json());
|
app.use(bodyParser.json({ limit: '10mb' }));
|
||||||
app.use(express.static('frontend/dist'));
|
app.use(express.static('frontend/dist'));
|
||||||
routes.register(app)
|
routes.register(app)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue