feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
14.97k stars 744 forks source link

fix(generators): Fix configure channels when not real-time app #3271

Closed DeplanqueMathis closed 10 months ago

DeplanqueMathis commented 10 months ago

Summary

When I create a new project with feathers cli the app configure "channels" even if I answer the app is not a real-time app. The presence of this line make an error when I run the project wich said "channels is undefined". I see the import of "channels" is conditioned by the presence of "websockets" but not the "app.configure".

daffl commented 10 months ago

Great, thank you!