introduce the vatsim oauth logic
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { HttpModule } from '@nestjs/axios';
|
||||
import { Module } from '@nestjs/common';
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config';
|
||||
import { MongooseModule } from '@nestjs/mongoose';
|
||||
@@ -8,6 +9,8 @@ import { AirportModule } from './airport/airport.module';
|
||||
import { LoggingModule } from './logging/logging.module';
|
||||
import { InboundModule } from './inbound/inbound.module';
|
||||
import { WeatherModule } from './weather/weather.module';
|
||||
import { AuthController } from './auth/auth.controller';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -26,12 +29,17 @@ import { WeatherModule } from './weather/weather.module';
|
||||
)}`,
|
||||
}),
|
||||
}),
|
||||
HttpModule.register({
|
||||
timeout: 5000,
|
||||
maxRedirects: 3,
|
||||
}),
|
||||
VersioningModule,
|
||||
PerformanceModule,
|
||||
AirportModule,
|
||||
LoggingModule,
|
||||
InboundModule,
|
||||
WeatherModule,
|
||||
AuthModule,
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user