|
|
@ -47,7 +47,7 @@ export const JwtStrategyProvider: Provider = { |
|
|
|
UsersService, |
|
|
|
UsersService, |
|
|
|
JwtStrategyProvider, |
|
|
|
JwtStrategyProvider, |
|
|
|
GlobalGuard, |
|
|
|
GlobalGuard, |
|
|
|
SocketGateway, |
|
|
|
...(!process.env['NC_WORKER_CONTAINER'] ? [SocketGateway] : []), |
|
|
|
], |
|
|
|
], |
|
|
|
exports: [ |
|
|
|
exports: [ |
|
|
|
AppInitService, |
|
|
|
AppInitService, |
|
|
@ -56,7 +56,7 @@ export const JwtStrategyProvider: Provider = { |
|
|
|
JwtStrategyProvider, |
|
|
|
JwtStrategyProvider, |
|
|
|
UsersService, |
|
|
|
UsersService, |
|
|
|
GlobalGuard, |
|
|
|
GlobalGuard, |
|
|
|
SocketGateway, |
|
|
|
...(!process.env['NC_WORKER_CONTAINER'] ? [SocketGateway] : []), |
|
|
|
], |
|
|
|
], |
|
|
|
}) |
|
|
|
}) |
|
|
|
export class GlobalModule {} |
|
|
|
export class GlobalModule {} |
|
|
|