There is Cross-Origin error

Hello,
i used docker-compose to run backend services ,
nginx exposed to 0.0.0.0:8585
and also i cloned billrun frontend (brcloud),

brcloud .env configured :
REACT_APP_serverApiUrl=http://0.0.0.0:8585

But i get cross-origin error as shown by attached screen-shot picture

Thanks.

Hey @rmros,

It seems that you are running under localhost which is blocked by chrome by default. for out application to work under unnamed domains (i.e. localhost) you need to disable the chrome samesite cookies protection.

To do that:

  • navigate to chrome://flags/#same-site-by-default-cookies (copy and paste to the chrome address bar).
  • Choose ‘Disable’ in the “SameSite by default cookies” option
  • Click on the ‘Relaunch’ that will appear.

Cheers,