partyserver@0.1.4
·
91 commits
to main
since this release
Patch Changes
-
#320
9bd3f56Thanks @threepointone! - Add CORS support toroutePartykitRequest.Pass
cors: truefor permissive defaults orcors: { ...headers }for custom CORS headers. Preflight (OPTIONS) requests are handled automatically for matched routes, and CORS headers are appended to all non-WebSocket responses — including responses returned byonBeforeRequest. -
#260
84fe996Thanks @BlankParticle! - remove redundant initialize code as setName takes care of it, along with the nested blockConcurrencyWhile call