Skip to content

Commit

Permalink
fix(generators): Fix channel/service configuration order for Koa base…
Browse files Browse the repository at this point in the history
…d apps
  • Loading branch information
myriads-dev authored Jul 13, 2023
1 parent e01eb6a commit 580344e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/generators/src/app/templates/app.tpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 580344e

Please sign in to comment.