Open WaterKnight1998 opened 4 years ago
I believe CORS is enabled by default. Can you pls try accessing the URL with the browser having disabled web security ? Thanks
I believe CORS is enabled by default. Can you pls try accessing the URL with the browser having disabled web security ? Thanks
It was solved editing config.js
I suggest you to update installation documentation
@WaterKnight1998 How did you edit config.js?
@TKlerx
You have two ways of editing the config.js
:
docker-compose.yml
https://mymetasfresh_server.com
you would set WEBAPI_URL=https://mymetasfresh_server.com
config.js
metasfresh-docker/webui/sources/configs/config.js
http://MYDOCKERHOST:PORT
with where your clients shall access the webuidocker-compose down && docker-compose build && docker-compose up -d
You can verify your settings are correct by:
docker exec metasfresh-docker_webui_1 cat /opt/metasfresh-webui-frontend/dist/config.js
Thanks for the reply. Somehow, I did not follow this thread any more. My solution was to use this docker-compose.yml file: https://forum.metasfresh.org/t/getting-a-blank-white-page-after-doing-the-docker-setup-in-centos-7/1923/3
We were exited to used metafresh as a case study for a discipline of software testing in my university, unfortunately this bug killed the idea. Hope you guys fix it till next year.
It's nearly 4 years since this bug was reported, why isn't this problem solved? This is the second erp-software with issues due to documentation an configuration in/with docker. Why is this such an problem? I would realy like tu use the software but there is no way like that.
When I access the website I see a White Landing Page. I built it as follows: