Mihail-Florin Popa
Mihail-Florin Popa
You can, but I don't think you can do it if you set a `maxAge` because when a session is pulled from the session store (e.g. Redis, MongoDB), the `session.expires`...
Fixes #126
@jack-y Except the refactoring suggestion I have just made, the only other thing missing is changes to the TypeScript types, https://github.com/SerayaEryn/fastify-session/blob/master/types/types.d.ts to add the `rolling` option as a boolean to...
I don't think it works. I tried it and it throws `FST_ERR_DEC_ALREADY_PRESENT: The decorator 'sessionStore' has already been added!`. The plugin creates and decorates the request with 3 things: ```javascript...
Prepeding a forward slash to the filename fixes the problem with Vite: https://github.com/callstack/linaria/blob/20e1ba5f60d06b2399bd54d723be91364b8acea3/packages/rollup/src/index.ts#L52 Namely it should be like below for the plugin to work. ```javascript const filename = `/${id.replace(/\.js$/, '')}_${slug}.css`;...
@MattHeslington Can you please describe a bit more regarding what you consider an "invalid" TLD? Is it a TLD that actually does not exist in reality? Is it just a...
@sauravkoli31 Even if the [url.parse](https://nodejs.org/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost) is now deprecated and even if the library is updated to use `new URL('...')`, you will still have the same issue. You just need to...
There are several so-called TLDs in the [Public Suffix List](https://publicsuffix.org/list/effective_tld_names.dat) that are websites, but there is no rule that a TLD cannot be a website. The traditional definition says that...
What I ended up doing in my case was to merge/augment the class with an interface like below. This is not a solution to the problem but a workaround. The...