Fork me on GitHub
#reitit
<
2022-01-04
>
rmxm12:01:44

Hey, I am trying to build a routing structure for SPA, no cljs, just clj backend. Basically I am looking for

[["/api" ["/user" ::user] ...]
 ["/*" ::static]]
Would this capture all requests except for "/api" path? The problem I run into conflicts. Which I can ignore, but I would like to ignore them only outside of /api. Should I provide my :conflitcs fn impelementation that ignores that? Or should I just forward :not-found in default-handler to my "index-fn"?