Closed RedSpid3r closed 2 years ago
I'm trying to build my first app (CF Worker) with itty-router and seem to be having issues with the headers.
I'm trying to use Authorization Bearer Token Header but when I try to get that from the headers I get undefined.
My previous projects used ExpressJS which returns headers as an object, is there some way I can do the same with itty?
Thanks.
Resolved :)
My favorite sort of tickets... the self-closing kind! :D
I'm trying to build my first app (CF Worker) with itty-router and seem to be having issues with the headers.
I'm trying to use Authorization Bearer Token Header but when I try to get that from the headers I get undefined.
My previous projects used ExpressJS which returns headers as an object, is there some way I can do the same with itty?
Thanks.