Fork me on GitHub
#luminus
<
2021-01-24
>
zendevil.eth03:01:25

How to increase the file size that can be received by the server in luminus with a post request?

zendevil.eth12:01:08

I tried adding max-body

(mount/defstate ^{:on-reload :noop} http-server
  :start
  (http/start
    (-> env
        (assoc  :handler (handler/app))
        (update :port #(or (-> env :options :port) %))
        (assoc :max-body 12800000)
        (select-keys [:handler :host :port])))
But this doesn’t seem to work.