|
|
@ -16,7 +16,7 @@ import { GlobalModule } from './modules/global/global.module'; |
|
|
|
import { LocalStrategy } from './strategies/local.strategy'; |
|
|
|
import { LocalStrategy } from './strategies/local.strategy'; |
|
|
|
import { AuthTokenStrategy } from './strategies/authtoken.strategy/authtoken.strategy'; |
|
|
|
import { AuthTokenStrategy } from './strategies/authtoken.strategy/authtoken.strategy'; |
|
|
|
import { BaseViewStrategy } from './strategies/base-view.strategy/base-view.strategy'; |
|
|
|
import { BaseViewStrategy } from './strategies/base-view.strategy/base-view.strategy'; |
|
|
|
import NcConfigFactory from './utils/NcConfigFactory' |
|
|
|
import NcConfigFactory from './utils/NcConfigFactory'; |
|
|
|
import NcUpgrader from './version-upgrader/NcUpgrader'; |
|
|
|
import NcUpgrader from './version-upgrader/NcUpgrader'; |
|
|
|
import { MetasModule } from './modules/metas/metas.module'; |
|
|
|
import { MetasModule } from './modules/metas/metas.module'; |
|
|
|
import NocoCache from './cache/NocoCache'; |
|
|
|
import NocoCache from './cache/NocoCache'; |
|
|
@ -64,7 +64,7 @@ export class AppModule implements OnApplicationBootstrap { |
|
|
|
|
|
|
|
|
|
|
|
// app init
|
|
|
|
// app init
|
|
|
|
async onApplicationBootstrap(): Promise<void> { |
|
|
|
async onApplicationBootstrap(): Promise<void> { |
|
|
|
process.env.NC_VERSION = '0105004'; |
|
|
|
process.env.NC_VERSION = '0106001'; |
|
|
|
|
|
|
|
|
|
|
|
await NocoCache.init(); |
|
|
|
await NocoCache.init(); |
|
|
|
|
|
|
|
|
|
|
|