Skip to content

Commit

Permalink
fix(generators): Conditionally import channels in Express app (#3106)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Mar 15, 2023
1 parent 625cabf commit c2dbaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/src/app/templates/app.tpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ${schema !== false ? `import { configurationValidator } from './configuration'`
import { logger } from './logger'
import { logError } from './hooks/log-error'
import { services } from './services/index'
import { channels } from './channels'
${transports.includes('websockets') ? `import { channels } from './channels'` : ''}
const app: Application = express(feathers())
Expand Down

0 comments on commit c2dbaaa

Please sign in to comment.