Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

How to configure Redis? #26

Closed
JacobArrow opened this issue Nov 11, 2022 · 4 comments
Closed

How to configure Redis? #26

JacobArrow opened this issue Nov 11, 2022 · 4 comments

Comments

@JacobArrow
Copy link

Hello!

I'm looking for an example on how to configure the storage options to work with a Redis server through unstorage.
I am unable to figure out the syntax for configuring it inside the session.session.storageOptions setting.

@zoey-kaiser
Copy link
Member

zoey-kaiser commented Nov 11, 2022

Hi @JacobArrow!

In the current release we saldy only support memory storage, as we ran into some serialization issues when using other storage solutions (#8).

However we have a open PR that is working on fixing this issue here: #7

It is coming along very well and we hope to merge it soon! When we do so, we will include more documentation on the different storage options #9. You are free to look into the PR, give feedback on it and follow along!

@JacobArrow
Copy link
Author

Thank you very much for the insight @zoey-kaiser! I will pay close attention to the PR :)

@BracketJohn
Copy link
Contributor

Hey @JacobArrow, this works now, see the docs here: https://github.com/sidebase/nuxt-session#configuration Thanks tgo @Twitch0125 for implementing this 🎊

Please let us know if you have any other problems with this, or open a new issue for future bug / features request!

@BracketJohn
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants