gcui-art/suno-api

CORS error

Closed this issue · 0 comments

When deployed to Vercel, all GET requests work as intended when calling them from another webApp.

When calling a POST request like custom_generate the API returns with an CORS error, not allowing the other webApp to perform this API call.

Any idea if this is intended behaviour or a bug or a missing feature? If possible: How can domains be allowed to request the API... maybe via setting an CORS request header?