Fork me on GitHub
#duct
<
2018-02-12
>
myguidingstar05:02:28

@weavejester how do I use :duct.module.web/site for some routes and :duct.module.web/api for the others?

myguidingstar05:02:20

never mind, I've just added wrap-format middleware

myguidingstar08:02:54

if a request to api has HTTP header Accept: */* (or doesn't specify at all), the response will have Content-Type application/octet-stream

myguidingstar08:02:19

how do I fallback to edn or transit+json instead?

myguidingstar08:02:59

never mind, figured it out in muuntaja doc

weavejester15:02:16

Glad you got it figured out, @myguidingstar 🙂