Does the code from L145 really need to be different from the one shown in L32?
If I use (constantly...), I get the following exception:
Exception: java.lang.IllegalArgumentException: No implementation of method: :match-by-path of protocol: #'reitit.core/Router found for class: clojure.core$constantly$fn__5740
Does the code from L145 really need to be different from the one shown in L32?
If I use
(constantly...)
, I get the following exception:Exception: java.lang.IllegalArgumentException: No implementation of method: :match-by-path of protocol: #'reitit.core/Router found for class: clojure.core$constantly$fn__5740