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

Not working with fastify + prefix #237

Open
eduhaag opened this issue May 19, 2023 · 2 comments
Open

Not working with fastify + prefix #237

eduhaag opened this issue May 19, 2023 · 2 comments

Comments

@eduhaag
Copy link

eduhaag commented May 19, 2023

Firstly sorry for my english.
I'm trying use Agendash with Fastify, but when I set the prefix to access Agendash in localhost:3333/dash, the interface isn't displayed.

My code:

app.register(Agendash(agenda, { middleware: 'fastify'}), { prefix: '/dash', })

app is instance of Fastify

@pozhega
Copy link

pozhega commented Sep 6, 2023

Some thing here. @eduhaag have you managed to solve the issue?

@pozhega
Copy link

pozhega commented Sep 7, 2023

Found temporary fix. Just add / on the end of the route. For example http://localhost/dash/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants