luminus

zendevil 2021-01-24T03:43:25.001100Z

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

zendevil 2021-01-24T12:37:08.001800Z

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.