Replies: 1 comment
-
I suppose you tried to use this https://docs.rs/warp/latest/warp/filters/cors/index.html. I will think about something to modify input/output requests so it is possible to apply CORS policies. In the meantime you can still wrap the service fn with another service fn and manually modify headers to apply CORS policies : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CORS is working on the requests served by warp, but not the
/socket.io/
requests.Beta Was this translation helpful? Give feedback.
All reactions