Prerequisites
🚀 Feature Proposal
I'd like to specify paths that are ignored by the 'rolling' behaviour.
Motivation
I want to have some endpoint in the background that is frequently checked to see if I have a session.
But since this is in the background there is no 'user interaction'. Meaning I want the session to time out eventually if the user does nothing, plus I want to show them after a time that the session has timed out (e.g. a modal) by checking the response status of the session endpoing
Example
await server.register(fastifySession, {
...
rolling: {
excluded: ['/session'],
}
});
Prerequisites
🚀 Feature Proposal
I'd like to specify paths that are ignored by the 'rolling' behaviour.
Motivation
I want to have some endpoint in the background that is frequently checked to see if I have a session.
But since this is in the background there is no 'user interaction'. Meaning I want the session to time out eventually if the user does nothing, plus I want to show them after a time that the session has timed out (e.g. a modal) by checking the response status of the session endpoing
Example