johanhelsing / matchbox

Painless peer-to-peer WebRTC networking for rust wasm (and native!)
Apache License 2.0
869 stars 72 forks source link

No way to configure a more specific CORS #341

Closed stevenhuyn closed 11 months ago

stevenhuyn commented 11 months ago

At the moment I don't think there's no way to set up CORS that is more specific than completely specific.

https://github.com/johanhelsing/matchbox/blob/main/matchbox_signaling/src/signaling_server/builder.rs#L93-L102

Could this be something that could be added?

stevenhuyn commented 11 months ago

nvm see the mutate_router method!