billions-arm-13894
09/23/2022, 1:00 PMgrowthbook_1 | | /usr/local/src/app/packages/back-end/dist/util/secrets.js:49
growthbook_1 | | throw new Error("Cannot use JWT_SECRET=dev in production. Please set to a long random string.");
growthbook_1 | | ^
growthbook_1 | |
growthbook_1 | | Error: Cannot use JWT_SECRET=dev in production. Please set to a long random string.
I haven't notice it before and currently that is the only thing that I found weird. Do you know if this could be a reason for not being able to access api.
Here is the screenshot from UI also:future-teacher-7046
billions-arm-13894
09/23/2022, 1:08 PMfuture-teacher-7046
billions-arm-13894
09/23/2022, 1:14 PMMake sure CORS settings are correct. Add your URLs to the AllowedOrigins array or set to "*"
and I'm not sure where and if I need to set thisfuture-teacher-7046
app_origin
. Make sure that matches the front-end.
If the API isn't loading on its own, then check the container logs. It's likely the back-end failed to start for some reason.