chore: Disable eager loading apps

This commit is contained in:
Faruk AYDIN
2021-11-17 20:17:29 +01:00
committed by Ömer Faruk Aydın
parent c48c905805
commit 6b1dee053f
2 changed files with 0 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
import App from '../models/app';
import appConfig from '../config/app';
if(appConfig.appEnv === 'development') {
const apps = App.findAll();
apps.forEach((app: any) => {
import(`../apps/${app.key}`);
})
}