CORS in standalone server

NNEO10/14/2022
Hi,

I'm trying to get CORS working in standalone server.
Attempted this solution but unfortunately it no longer works with v10
https://github.com/trpc/trpc/issues/623

And with my own code for v10 it throws a "405 METHOD_NOT_SUPPORTED" when the method is set to OPTIONS
UUUnknown User10/14/2022
Message Not Public
Sign In & Join Server To View
NNEO10/14/2022
Thanks, tho it would be helpful to have some reference in the actual docs page
NNEO10/14/2022
https://trpc.io/docs/v10/cors has nothing about server side implementation
UUUnknown User10/14/2022
Message Not Public
Sign In & Join Server To View