You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, when a product is added to cart. (I think that's the only thing)
There's no need to create a cookie before that.
The cookie should also be refreshed in layout.server.ts instead of hooks.server.ts, and only if cart is not empty. We can change the expiration from 1 year to 30 days as well.
For example, when a product is added to cart. (I think that's the only thing)
There's no need to create a cookie before that.
The cookie should also be refreshed in
layout.server.ts
instead ofhooks.server.ts
, and only if cart is not empty. We can change the expiration from 1 year to 30 days as well.Related to #48
The text was updated successfully, but these errors were encountered: