Add ADSB Exchange
This commit is contained in:
@@ -8,7 +8,7 @@ import { UsersModule } from './users/users.module';
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config';
|
||||
import { DomainrproxyModule } from './domainrproxy/domainrproxy.module';
|
||||
import configuration from './config/configuration';
|
||||
import { CacheModule } from '@nestjs/cache-manager';
|
||||
import { CacheInterceptor, CacheModule } from '@nestjs/cache-manager';
|
||||
import { IrcbotModule } from './ircbot/ircbot.module';
|
||||
import { OgScraperModule } from './ogscraper/ogscraper.module';
|
||||
import { PrometheusModule } from '@willsoto/nestjs-prometheus';
|
||||
@@ -25,6 +25,8 @@ import { PowModule } from './pow/pow.module';
|
||||
import { FocoCoffeeModule } from './fococoffee/fococoffee.module';
|
||||
import { JobsModule } from './jobs/jobs.module';
|
||||
import { RedisModule, RedisModuleOptions } from '@liaoliaots/nestjs-redis';
|
||||
import { AdsbExchangeModule } from './adsb-exchange/adsb-exchange.module';
|
||||
import { APP_INTERCEPTOR } from '@nestjs/core';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -97,8 +99,15 @@ import { RedisModule, RedisModuleOptions } from '@liaoliaots/nestjs-redis';
|
||||
PowModule,
|
||||
FocoCoffeeModule,
|
||||
JobsModule,
|
||||
AdsbExchangeModule,
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService],
|
||||
providers: [
|
||||
AppService,
|
||||
{
|
||||
provide: APP_INTERCEPTOR,
|
||||
useClass: CacheInterceptor,
|
||||
},
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
Reference in New Issue
Block a user