Closed emilianocalzada closed 3 weeks ago
👋 Hi there!
First, I want to express my appreciation for this awesome library - it has significantly accelerated my development process!
I'm encountering an error when deploying to Cloudflare Pages, specifically during the sign-in process.
Error: Use `event.cookies.set(name, value, options)` instead of `event.setHeaders` to set cookies
Location The error occurs in: https://github.com/wobsoriano/svelte-clerk/blob/eb7964c18901ef2a9a7341f41fbebc965971de45/packages/svelte-clerk/src/lib/server/withClerkHandler.ts#L46C63-L47C1
Oh, thanks for reporting this! Yeah I need to update that one as SvelteKit dont like setting headers like that
👋 Hi there!
First, I want to express my appreciation for this awesome library - it has significantly accelerated my development process!
Issue Description
I'm encountering an error when deploying to Cloudflare Pages, specifically during the sign-in process.
Error Message
Location The error occurs in: https://github.com/wobsoriano/svelte-clerk/blob/eb7964c18901ef2a9a7341f41fbebc965971de45/packages/svelte-clerk/src/lib/server/withClerkHandler.ts#L46C63-L47C1