Как nestjs получает cookie в запросе?
import { Get, Controller, Response, Request } from '@nestjs/common';
import { AppService } from './app.service';
const l = console.log
@Controller()
export class AppController {
@Get('json')
json(@Request() req){
console.log(req.cookies) // undefined
}
}