Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.75k stars 1.57k forks source link

The CORS error when making requests to the Budibase API from the client #15041

Open hypeoplestudio opened 1 hour ago

hypeoplestudio commented 1 hour ago

Checklist

Hosting

Describe the bug We want to use Budibase for backend management in our React project, but we are getting a CORS error when making requests from the client. As an alternative, we installed Budibase locally on our machine and ran it on localhost:10000, and even though we added the CORS origin settings as environment variables in the Docker Compose files, we are still encountering the CORS error.

Desktop (please complete the following information):

linear[bot] commented 1 hour ago

BUDI-8846 The CORS error when making requests to the Budibase API from the client

mike12345567 commented 57 minutes ago

Hi @hypeoplestudio - what API are you trying to use? There shouldn't be CORS errors if you utilise the public API - the internal API should experience CORS errors, that is intentional.