Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
this.config = {};
this.services = new ServiceManager();
this.apps = [];
}
constructor() {
this.configurators = [];
this.modules = new ModuleLoader();
this.services = new ServiceManager();
this.router = new Router();
this.initialized = false;
this.configLoader = () => Promise.resolve({});
axios.defaults.validateStatus = status => {
return status >= 200 && status < 500;
};
axios.defaults.timeout = 6000;
}
constructor() {
this.configurators = [];
this.modules = new ModuleLoader();
this.services = new ServiceManager();
this.router = new Router();
this.security = new Security();
this.graphql = new GraphQLClient();
this.initialized = false;
this.configLoader = () => Promise.resolve({});
registerDefaultModules(this);
}