mirror of
https://github.com/strapi/strapi.git
synced 2025-11-29 16:41:19 +00:00
Default opts in Strapi()
This commit is contained in:
parent
d5d80ba407
commit
51b3dade8f
@ -61,7 +61,7 @@ const CONFIG_PATHS = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class Strapi extends EventEmitter {
|
class Strapi extends EventEmitter {
|
||||||
constructor(opts) {
|
constructor(opts = {}) {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
this.setMaxListeners(100);
|
this.setMaxListeners(100);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user