introduce the vatsim oauth logic

This commit is contained in:
Sven Czarnian
2022-11-01 23:40:45 +01:00
parent bb9044698d
commit 566762a36c
7 changed files with 188 additions and 139 deletions

View File

@@ -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 {}