From 580344e96fe8a2f17fd53476af5a0c7ddefac0b6 Mon Sep 17 00:00:00 2001 From: myriads-dev <138903088+myriads-dev@users.noreply.github.com> Date: Thu, 13 Jul 2023 13:12:50 -0400 Subject: [PATCH] fix(generators): Fix channel/service configuration order for Koa based apps --- packages/generators/src/app/templates/app.tpl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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