How to allow CORS requests?
jfdesgagne opened this issue · comments
jfdesgagne commented
When I publish my api to jina using lc-serve deploy jcloud api
, my client app complains that CORS is not configured on the remote side. How can this be configured ? Thanks!
Deepankar Mahapatro commented
@jfdesgagne unfortunately there's no way to do that right now. Let me make PR tomorrow to enable this.
Deepankar Mahapatro commented
@jfdesgagne We've added CORS to all our jcloud endpoints by default and released it with 0.0.27.
Thomas Wood commented
Any thought of doing this for lc-serve deploy local?