We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fa9351 + 60beaa6 commit 04b2a8aCopy full SHA for 04b2a8a
content/techniques/cookies.md
@@ -71,7 +71,7 @@ const app = await NestFactory.create<NestFastifyApplication>(
71
AppModule,
72
new FastifyAdapter(),
73
);
74
-app.register(fastifyCookie, {
+await app.register(fastifyCookie, {
75
secret: 'my-secret', // for cookies signature
76
});
77
```
content/techniques/sessions.md
@@ -77,7 +77,7 @@ const app = await NestFactory.create<NestFastifyApplication>(
78
79
80
-app.register(secureSession, {
+await app.register(secureSession, {
81
secret: 'averylogphrasebiggerthanthirtytwochars',
82
salt: 'mq9hDxBVDbspDR6n',
83
0 commit comments