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
If I try to set any cookie in middleware or with an endpoint, it'll work using the development server. However, using the astro build production build, no cookie will get returned from the endpoint. If I switch from Bun to Node adapters, the cookies just work successfully in production. I also found I could use the Node adapter and still run the server with Bun without issue. The problem seems isolated to Bun's special Server package (see import type { Server } from 'bun'; ).
I'm hoping someone may have better luck further troubleshooting than I.
The text was updated successfully, but these errors were encountered:
If I try to set any cookie in middleware or with an endpoint, it'll work using the development server. However, using the
astro build
production build, no cookie will get returned from the endpoint. If I switch from Bun to Node adapters, the cookies just work successfully in production. I also found I could use the Node adapter and still run the server with Bun without issue. The problem seems isolated to Bun's special Server package (seeimport type { Server } from 'bun';
).I'm hoping someone may have better luck further troubleshooting than I.
The text was updated successfully, but these errors were encountered: