pixelmund / svelte-kit-cookie-session

⚒️ Encrypted "stateless" cookie sessions for SvelteKit
MIT License
182 stars 11 forks source link

Iniitalizing guide update #53

Closed AliVillegas closed 1 year ago

AliVillegas commented 1 year ago

Hi I was struggling to find why the session was not initializing in hooks. By default svelte has a hooks configuration in src/hooks.server.js. And not in src/hooks as the installation guide points out

midnightcodr commented 1 year ago

I was in the same boat. The issue was fixed by implementing the codes in src/hooks.server.js.