chestnut

cjsauer 2018-01-13T18:35:08.000138Z

@featheredtoast Appreciate the link, I believe I've figured it out, but I've ran into a very important question: what order can I expect the middleware configuration to be wrapped in? I need to be careful where I place my SSL redirect in the stack...

2018-01-13T23:32:58.000033Z

iirc It's the order it's declared in the middleware vector, eg in https://github.com/plexus/chestnut/blob/master/src/leiningen/new/chestnut/src/clj/chestnut/config.clj#L9 it's run in order: wrap defaults, wrap with logger, wrap gzip