Open binamralamsal opened 2 months ago
Found out you have to put your domain in your service locator and not main Elysia handler.
Reopening this because it sometimes works and sometimes doesn't, this is pretty weird.
Well, looks like this doesn't work as I expected when using cookie schema (I was using it on logout route only) or probably I am dumb to not understand this. Removing cookie schema works fine but I am not sure if it should be considered an issue or not.
If this is an intentional behavior, then you can close this issue and please also provide short explanation as I am extremely confused.
What version of Elysia.JS is running?
1.0.27
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
I have set my domain while intiailizing Elysia. It is set when I set a cookie in headers but when I remove the cookie, domain value is not in headers.
What is the expected behavior?
Domain value should be while removing cookie
What do you see instead?
No response
Additional information
No response