@mashroom/mashroom-session-provider-filestore
v2.7.1
Published
Mashroom Server session file store provider
Downloads
47
Readme
Mashroom Session Filestore Provider
Plugin for Mashroom Server, a Microfrontend Integration Platform.
This plugin adds a file based session store that can be used by Mashroom Session. Actually this is just a wrapper for the session-file-store package.
Usage
If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-session-provider-filestore as dependency.
Activate this session provider in your Mashroom config file like this:
{
"plugins": {
"Mashroom Session Middleware": {
"provider": "Mashroom Session Filestore Provider"
}
}
}
And to change the default config of this plugin add:
{
"plugins": {
"Mashroom Session Filestore Provider": {
"path": "../../data/sessions"
}
}
}
All config options are passed to the session-file-store. See session-file-store for available options.