mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +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 {
|
||||
constructor(opts) {
|
||||
constructor(opts = {}) {
|
||||
super();
|
||||
|
||||
this.setMaxListeners(100);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user