diff options
Diffstat (limited to 'server/app.controller.ts')
-rw-r--r-- | server/app.controller.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/server/app.controller.ts b/server/app.controller.ts index 685cf8f..a6bcf58 100644 --- a/server/app.controller.ts +++ b/server/app.controller.ts @@ -1,12 +1,8 @@ -import { Controller, Get, Render, Req } from '@nestjs/common'; -import { Request } from 'express'; +import { Controller, Get, Render } from '@nestjs/common'; @Controller() export class AppController { @Get() @Render('index') - index(@Req() req: Request) { - const jwt = req.cookies['_token']; - return { jwt }; - } + index() {} } |