Closed zakaria-chahboun closed 4 years ago
Correct, it is not. You have to set it up yourself (until there's an official package, which is definitely planned).
Until then, copying the cookie
example works great: https://github.com/lukeed/polka/issues/83#issuecomment-455289371
I want to use the package
cookie-parser
BUT I can't use cookie function in res in my middleware! it gives me an error messageres.cookie is not a function
my code look like this: