chore: removed SIGNED_COOKIE_SECRET from cookieParser in main.ts and .env.example files
This commit is contained in:
@@ -7,3 +7,4 @@ export const GqlUser = createParamDecorator(
|
||||
return ctx.getContext().req.user;
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user