@kopper from a quick look the routing seems like what https://hackage.haskell.or...
sarah tonin :wlfBlep: @SRAZKVT@tech.lgbt
@kopper from a quick look the routing seems like what https://hackage.haskell.org/package/scotty has, but not in a functional language, and supporting route prefixes rather than only full routes (ok, well, technically scotty can run nested scotties but it's a bit too much of a mess imo with the way the api is made)
i was wondering how you match paths exactly, i see it's with a trailing slash, honestly, i wouldve done it the other way around, where trailing slash means it's prefix, while no trailing slash means it's strict (because to me a trailing slash means you still expect something afterwards / it's a directory that contains many things (routes here))