Closed RickMoynihan closed 1 year ago
I hit the same issue. For a gross short term fix I did:
(let [orig-wrap-resource ring.middleware.resource/wrap-resource]
(with-redefs [ring.middleware.resource/wrap-resource
(fn [h root]
(orig-wrap-resource h root {:allow-symlinks? true}))]
(wrap-defaults handler site-defaults)))
It seems that this option and others such as
:loader
and:prefer-handler?
are not configurable via defaults.This is also an issue when attempting to configure via duct.