How do I solve cross origin after setting up using docker

Hi,
I can almost set up metasfresh using docker. I have just one problem. Metasfresh webui cannot refer to
http://localhost:8080/rest/api/login/availableLanguages,
http://localhost:8080/rest/api/i18n/messages,
http://localhost:8080/rest/api/login/isLoggedin
for the referrer policy is strict-origin-when-cross-origin as shown in image.

Does anyone know how to solve this problem?

Thank you so much