Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platformatic DB: FastifyDeprecation warning when starting the server #575

Closed
simonplend opened this issue Jan 7, 2023 · 2 comments · Fixed by fastify/fastify-websocket#238
Assignees
Labels
bug Something isn't working

Comments

@simonplend
Copy link
Contributor

When running npx platformatic db start the following warning message is output:

(node:26575) [FSTDEP014] FastifyDeprecation: You are trying to set/access the default route. This property is deprecated. Please, use setNotFoundHandler if you want to custom a 404 handler or the wildcard (*) to match all routes.
(Use `node --trace-warnings ...` to show where the warning was created)

Platformatic CLI version: 0.12.1

@simonplend simonplend added the bug Something isn't working label Jan 7, 2023
@mcollina mcollina self-assigned this Jan 8, 2023
@mcollina
Copy link
Member

mcollina commented Jan 8, 2023

I'm already working on it.
This is due to fastify/fastify-websocket#236 and it's fixed by fastify/fastify-websocket#238.

@mcollina
Copy link
Member

mcollina commented Jan 8, 2023

@fastify/websocket v7.1.2 was released with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants