agendash icon indicating copy to clipboard operation
agendash copied to clipboard

Not working with fastify + prefix

Open eduhaag opened this issue 1 year ago • 2 comments

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

eduhaag avatar May 19 '23 15:05 eduhaag

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

pozhega avatar Sep 06 '23 14:09 pozhega

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

pozhega avatar Sep 07 '23 22:09 pozhega