Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image jgraph/drawio vs fjudith/draw.io in self-contained/ docker compose #37

Open
fuminori-ido-m opened this issue Nov 27, 2019 · 1 comment

Comments

@fuminori-ido-m
Copy link
Contributor

Dear,

I wondered why debian/Dockerfile generated docker process had an error as follows when I accessed it from my browser:

Access to XMLHttpRequest at 'https://rt.draw.io/cache?alive' from origin 'https://localhost:8443' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'https:/'.

...while self-contained/docker-compose.yml didn't.

What I find out is that the image is different. The former is latest built locally while the latter is https://hub.docker.com/r/jgraph/drawio

Unfortunately, the latter doesn't show Dockerfile so that I wonder how it is built.

Could you let me know how to fix this CORS error in either:

a) by fixing drawio itself
b) by knowing how to build jgraph/drawio
c) any other?

Thank you and best regards,

@krufab
Copy link

krufab commented Dec 11, 2019

The source of the jgraph/drawio image is here: https://github.com/jgraph/docker-drawio/tree/master/debian

valentinab25 pushed a commit to valentinab25/docker-draw.io.fj that referenced this issue Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants