Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(createServer): use addHook instead of ready (redwoodjs#9871)
Fixes the issue @Tobbe and I were seeing in studio: ``` ~/redwood-project/node_modules/avvio/boot.js:244 throw new AVV_ERR_ROOT_PLG_BOOTED() ^ AvvioError [Error]: Root plugin has already booted ... ``` `fastify.ready` actually starts the server. All this is doing is logging. We want to use `addHook` instead. Follow up to redwoodjs#9845.
- Loading branch information