File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,10 @@ async function bootstrapServer(): Promise<Server> {
2525 throw new Error ( 'Invalid environment variables' ) ;
2626 }
2727
28+ console . log ( process . env ) ;
2829 const expressApp = express ( ) ;
2930 const adapter = new ExpressAdapter ( expressApp ) ;
31+
3032 const app = await NestFactory . create ( AppModule , adapter ) ;
3133
3234 app . enableCors ( ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { EnvService } from '@/env/env.service';
1414 imports : [ EnvModule ] ,
1515 inject : [ EnvService ] ,
1616 useFactory : ( env : EnvService ) => {
17- console . log ( 'EnvService inside TypeORM:' , ! ! env ) ;
17+ console . log ( env ) ;
1818
1919 return {
2020 type : 'mysql' ,
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import { HttpExceptionFilter } from '../utils/http.exception.filter';
88import { AppModule } from './app.module' ;
99
1010async function bootstrap ( ) : Promise < void > {
11- console . log ( process . env . API_PORT ) ;
12-
1311 const app = await NestFactory . create ( AppModule ) ;
1412
1513 app . useGlobalPipes (
You can’t perform that action at this time.
0 commit comments