Open eduhaag opened 1 year ago
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
Some thing here. @eduhaag have you managed to solve the issue?
Found temporary fix. Just add / on the end of the route. For example http://localhost/dash/
/
http://localhost/dash/
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