Browser API calls is using 0.0.0.0 instead of public ip

Hello,

I am trying to test install InvenioRDM v12.0 on a server and access it using the public ip. I used the command invenio-cli run --host 0.0.0.0 --port 5050 to start Invenio and can access it on the browser using the public ip.
However, all API calls, for instance https://0.0.0.0:5050/api/communities/3a172f4f-ee12-46e1-81cd-50251e87482c/members?q=&page=1&size=25, from the ui are sent to 0.0.0.0 instead of the public ip.

GET /api/communities/3a172f4f-ee12-46e1-81cd-50251e87482c/members?q=&page=1&size=25 undefined
Host: 0.0.0.0:5050
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://110.44.114.232:5050/
Origin: https://110.44.114.232:5050

Are there any configuration that I am missing?

Hello,
did you set correctly the SITE_UI_URL/SITE_API_URL config vars?

Don’t hesitate to ask this question in our chat on Discord.