Fork me on GitHub
#luminus
<
2019-10-09
>
Jon Walch23:10:58

Should I be able to HTTP GET static resources from the public folder with the default config? I'm getting a 404

Jon Walch23:10:31

(deftest static-content
  (testing "can get static content"
    (let [{:keys [status] :as response}
          ((handler/app) (mock/request :get "/public/img/warning_clojure.png"))]
      (is (= 200 status)))
    )
  )
status is 404