diff --git a/packages/generators/src/app/templates/app.tpl.ts b/packages/generators/src/app/templates/app.tpl.ts index 4cfbdc462d..2e99d0849b 100644 --- a/packages/generators/src/app/templates/app.tpl.ts +++ b/packages/generators/src/app/templates/app.tpl.ts @@ -39,11 +39,11 @@ ${ cors: { origin: app.get('origins') } -})) -app.configure(channels)` +}))` : '' } app.configure(services) +app.configure(channels) // Register hooks that run on all service methods