How do I add an extension to a parameter in oak/deno?

39 Views Asked by At

I'm trying to add .rss to the end of a parameterized url:

  .get(
    "/searches/history/tags/:tag.rss",
    controller.getHistoryByTagRss.bind(controller)
  )

I need a way to isolate the :tag from the .rss

Currently this isn't working.

1

There are 1 best solutions below

0
chovy On

Fixed by upgrading oak to latest version and moving route above default route.