Impersination backend
This commit is contained in:
@@ -22,7 +22,7 @@ import { LogModule } from './modules/log/log.module';
|
||||
envFilePath: ['.env'],
|
||||
isGlobal: true,
|
||||
}),
|
||||
CacheModule.register({ ttl: 1000, isGlobal: true }),
|
||||
// CacheModule.register({ ttl: 1000, isGlobal: true }),
|
||||
DatabaseModule,
|
||||
AuthModule,
|
||||
UserModule,
|
||||
@@ -38,10 +38,10 @@ import { LogModule } from './modules/log/log.module';
|
||||
providers: [
|
||||
AppService,
|
||||
AuthGuard,
|
||||
{
|
||||
provide: APP_INTERCEPTOR,
|
||||
useClass: CacheInterceptor,
|
||||
},
|
||||
// {
|
||||
// provide: APP_INTERCEPTOR,
|
||||
// useClass: CacheInterceptor,
|
||||
// },
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user