We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096181d commit 16184beCopy full SHA for 16184be
api/src/main.ts
@@ -77,7 +77,7 @@ async function bootstrap() {
77
78
enableCorsByEnv(app, configService);
79
80
- const ENV = process.env['ENVIRONMENT'];
+ const ENV = configService.ENVIRONMENT;
81
if (ENV === ENVIRONMENT.STAGE || ENV === ENVIRONMENT.LOCAL) {
82
const swaggerDoc = load('src/swagger.yaml');
83
app.use(
0 commit comments