Fork me on GitHub

Hi everyone. Hope you are having a good morning. I write you about Are there any known workarounds? I've checked the commits linked by the issue submitter, and they seem to involve skipping validation. I am afraid that is an unacceptable solution for my use case. This issue is causing me a considerable roadblock. I would appreciate any update on the situation. Also I could volunteer some time to help with the resolution of this issue. Please let me know if/how I can be of any help.


Hello guys, I am having an issue serving static resources with a pedestal-reitit setup. this is my project.clj resource-paths :resource-paths ["config", "resources", "target/cljsbuild"] and I have added to my routes definition as following

    ;;; routes-definition-here in place of []
    {:exception pretty/exception
     :data {:coercion reitit.coercion.spec/coercion
            :muuntaja m/instance
            :interceptors [;; swagger feature
                           ;; query-params & form-params
                           ;; content-negotiation
                           ;; encoding response body
                           ;; exception handling
                           ;; decoding request body
                           ;; coercing response bodys
                           ;; coercing request parameters
                           ;; multipart

the (ring/create-resource-handler) which by defaults look at public folder as per the documentation. And I have even added to pedestal settings the following
::http/resource-path "public"
Am i missing something here ? I can't figure out a way to read my app.js located under resources/public/js/app.js by pointing the js script src to js/app.js


I tracked down the issue in the reitit-ring code base by adding another condition to the or which becomes (or (response path) (response uri) seems to work for me but i don't know if that is a bug in the code base