chore: removed SIGNED_COOKIE_SECRET from cookieParser in main.ts and .env.example files

This commit is contained in:
Balu Babu
2023-02-08 14:18:39 +05:30
parent 3b7a16c439
commit a6d6589811
4 changed files with 211 additions and 2 deletions

View File

@@ -7,3 +7,4 @@ export const GqlUser = createParamDecorator(
return ctx.getContext().req.user;
},
);

View File

@@ -35,7 +35,7 @@ async function bootstrap() {
app.enableVersioning({
type: VersioningType.URI,
});
app.use(cookieParser(process.env.SIGNED_COOKIE_SECRET));
app.use(cookieParser());
await app.listen(process.env.PORT || 3170);
}
bootstrap();