Skip to content

Commit

Permalink
Fix local environment check on the api side
Browse files Browse the repository at this point in the history
  • Loading branch information
abarghoud committed Nov 1, 2024
1 parent 4dba7f9 commit e236eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as process from 'node:process';
import { RecaptchaController } from './recpatcha/recaptcha.controller';
import { RecaptchaGuard } from './guards/recaptcha.guard';

const isLocalEnvironment = process.env.ENVIRONMENT;
const isLocalEnvironment = process.env.ENVIRONMENT === 'local';

@Module({
imports: [
Expand Down

0 comments on commit e236eb4

Please sign in to comment.