diff --git a/README.md b/README.md index 5df8eca..8ff3bda 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ fastify.post('/logout', (request, reply) => { }) ``` -If you enable [`debug` level logging](https://www.fastify.io/docs/latest/Reference/Logging/), +If you enable [`debug` level logging](https://fastify.dev/docs/latest/Reference/Logging/), you will see what steps the library is doing and understand why a session you expect to be there is not present. For extra details, you can also enable `trace` level logging. diff --git a/test/multi.js b/test/multi.js index 33231e1..49254a8 100644 --- a/test/multi.js +++ b/test/multi.js @@ -20,7 +20,7 @@ tap.test('it should handle multiple sessions properly', t => { cookie: { path: '/', maxAge: 60, - domain: 'fastify.io' + domain: 'fastify.dev' }, sessionName: 'shortTermSession' }]) @@ -68,7 +68,7 @@ tap.test('it should handle multiple sessions properly', t => { t.equal(response.cookies[1].name, 'short-term-cookie') t.equal(response.cookies[1].maxAge, 60) - t.equal(response.cookies[1].domain, 'fastify.io') + t.equal(response.cookies[1].domain, 'fastify.dev') fastify.inject({ method: 'GET',