Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: update APP_INTERCEPTOR
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Mar 30, 2020
1 parent dcaa708 commit ea3dd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import { AgendaModule } from './agenda/agenda.module'
useClass: RolesGuard,
},

process.env.NODE_ENV !== 'production' && {
process.env.NODE_ENV === 'development' && {
provide: APP_INTERCEPTOR,
useClass: DelayInterceptor,
},
Expand Down

0 comments on commit ea3dd60

Please sign in to comment.