-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the feature has not already been requested
🚀 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'],
}
});
EtienneK
Metadata
Metadata
Assignees
Labels
No labels