Hello All, Good morning / Good evening. I have se...
# ask-questions
s
Hello All, Good morning / Good evening. I have self-hosted the GrowthBook application in my AWS environment, but I am facing CORS errors while trying to secure the application. When I try to access the application through the IP or domain name, it works properly. However, when I try to access it using the AWS ALB (Application Load Balancer) and the load balancer's URL, I am getting a CORS error, and the application is not accessible. getting error Error connecting to the GrowthBook API at 3100
Hello All, can you please suggest how to resolve this issue ?
f
There are two settings to make sure they are correct, the API_HOST and APP_ORIGIN
the API origin needs to be the address for the API, and it should be loadable via the browser (you'll see a JSON object if its working)
Similar with the APP_ORIGIN